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

State
Published
Severity
Not Scored
Published
Nov 29, 2026
Updated
Nov 30, 2026
Reserved
Nov 17, 2026

Read the record on cve.org

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.

ProductVersions
PAGI-FastAPI1.0.0 to before 1.4.0 Affected

Weaknesses

  • CWE-306 Missing Authentication for Critical Functionality
  • CWE-352 Cross-Site Request Forgery

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.