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.
Published: 2026-11-29
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to PAGI-FastAPI 1.4.0 or later.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Dec 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 30 Nov 2026 01:30:00 +0000

Type Values Removed Values Added
References

Sun, 29 Nov 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title 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
Weaknesses CWE-306
CWE-352
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-12-03T21:15:11.759Z

Reserved: 2026-11-17T08:25:12.875Z

Link: CVE-2026-130488

cve-icon Vulnrichment

Updated: 2026-11-30T00:13:59.368Z

cve-icon NVD

Status : Received

Published: 2026-11-29T22:18:15.110

Modified: 2026-12-03T22:17:31.213

Link: CVE-2026-130488

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-29T23:30:16Z

Weaknesses