Skip to content
DayZeroHub
High Not yet writtenCVSS 8.8CVE-2026-130488

CVE-2026-130488: 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

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-130488: high-severity vulnerability (CVSS 8.8).

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.8.

Affected products and versions

PAGI-FastAPI >= 1.0.0, < 1.4.0

ProductVersionsFixed in
PAGI-FastAPI>= 1.0.0, < 1.4.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-306, CWE-352

Relevant change history

  1. Published

    Preliminary advisory published.