CPANSA-PAGI-FastAPI-2026-130488: PAGI-FastAPI vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-11-29T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-11-29T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score Severity
Original language Language en
Also referred to

Vulnerability 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.

Vulnerabilities

CVE-2026-130488

Vulnerability 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.

Weakness CWE-306 : Missing Authentication for Critical Function

Product status

Known affected
Product Score
PAGI-FastAPI greater than or equal 1.0.0 and less than 1.4.0
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Sun Nov 29 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/