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

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

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2026-11-29T21:42:06.637Z

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

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

Link: CVE-2026-130488

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-11-30T01:17:04.127

Link: CVE-2026-130488

cve-icon Redhat

No data.