CVE-2026-130488
Received Received - Intake

Authentication Bypass in PAGI::FastAPI via Missing Middleware

Vulnerability report for CVE-2026-130488, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-29

Last updated on: 2026-11-29

Assigner: CPANSec

Description

PAGI::FastAPI versions from 1.0.0 before 1.4.0 for Perl serve requests without registered authentication or CSRF middleware in applications built with to_app. add_middleware keeps middleware objects in a separate stack. These include PAGI::Middleware classes such as Auth::Basic, and the CSRF middleware that enable_csrf installs. to_app, the entry point the documentation deploys with, never applies that stack, and nothing warns that the middleware does not run. Middleware registered as a code reference is unaffected. A remote attacker can call protected routes without credentials and forge cross-site state-changing requests.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-29
Last Modified
2026-11-29
Generated
2026-11-30
AI Q&A
2026-11-30
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
pagi fastapi From 1.0.0 (inc) to 1.4.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
CWE-352 The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects PAGI::FastAPI versions 1.0.0 to 1.4.0 for Perl. Applications built with to_app serve requests without registered authentication or CSRF middleware. The middleware stack, including authentication and CSRF protection, is never applied during request processing, leaving protected routes exposed.

Impact Analysis

An attacker can bypass authentication to access protected routes without credentials. They can also forge cross-site state-changing requests due to missing CSRF protection. This allows unauthorized actions and potential data manipulation or theft.

Compliance Impact

This vulnerability likely violates compliance requirements for data protection and access control. GDPR mandates proper authentication and CSRF protections for user data. HIPAA requires secure access controls for protected health information. The lack of these safeguards may lead to non-compliance.

Mitigation Strategies

Upgrade PAGI::FastAPI to version 1.4.0 or later to ensure proper middleware registration and authentication enforcement.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-130488. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...