PAGI-FastAPI authentication bypass in to_app middleware
Affects PAGI-FastAPI from 1.0.0 before 1.4.0 when deployed with to_app(), where middleware added via add_middleware or enable_csrf is not applied. Fixed in 1.4.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 1.4.0
- Who is exposed
- Not reported
Summary
PAGI::FastAPI for Perl serves requests in applications built with to_app without running the authentication or CSRF middleware registered through add_middleware. A remote attacker can therefore call protected routes without credentials and forge cross-site state-changing requests.
Written by a model
Original 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.
What to do
Upgrade to a fixed version: 1.4.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by 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…), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-130488 (entry last updated 2026-11-29):
Affected:
- PAGI-FastAPI: from 1.0.0, fixed in 1.4.0
Fixed versions: 1.4.0.
Conditions (all must be true for the bug to be hit):
- Application deployed with to_app(), where object middleware registered via add_middleware or enable_csrf is not applied (source: https://metacpan.org/release/MANWAR/PAGI-FastAPI-v1.4.0/changes)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-130488 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-130488 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://metacpan.org/release/MANWAR/PAGI-FastAPI-v1.4.0/changes
- https://www.cve.org/CVERecord?id=CVE-2026-130488
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-130488
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-130488"}.Affected versions
- PAGI-FastAPIFrom 1.0.0 · fixed in 1.4.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch0/5No signal
What would change the score
- Would score about 55 if added to CISA KEV
- Would score about 50 if CISA's SSVC rates exploitation active
- Would score about 22 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 3
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-130488 |
| Record | NVD · CVE-2026-130488 |
| Other links 1 | |
| Link | metacpan.org · release/MANWAR/PAGI-FastAPI-v1.4.0/changes |
Questions about CVE-2026-130488
Is CVE-2026-130488 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
When an application is deployed with to_app(), middleware registered with add_middleware or enable_csrf is ignored, so requests are served without the authentication or CSRF protection the application configured.
Source: metacpan.org, cve.org
Which versions are affected by CVE-2026-130488?
PAGI-FastAPI: from 1.0.0 before 1.4.0.
Source: cve.now feed data
Am I affected, and how do I check?
PAGI-FastAPI versions from 1.0.0 before 1.4.0 for Perl are in the affected range. The affected setup is an application deployed with to_app() that registers middleware through add_middleware or enable_csrf. Check the installed PAGI-FastAPI version and whether the deployment uses to_app().
Source: metacpan.org, cve.org
How do I fix CVE-2026-130488?
Upgrade to a fixed version: 1.4.0. The vendor's advisory also recommends 1.4.0 or later or later.
Source: cve.now feed data, cve.org
Related
- CVE-2026-138091Tenda AC10U Web UI telnet TendaTelnet missing authentication
- CVE-2026-137724A vulnerability in the Platform component of Mitel OpenScape 4000, and OpenScape 4000 Manager could allow an unauthenticated attacker to…
- CVE-2026-137953Pydantic Deep 0.2.18 before 0.4.0 Missing Authentication in DeepResearch App
- CVE-2026-138034bigcommerce-api-mcp before 1.0.1 Missing Authentication via SSE Transport Routes
- CVE-2026-133938JTL-Shop: Missing CSRF protection in the backend language switch leads to cross-site scripting in the administration backend
- CVE-2015-20131D-Link DIR-820L rev A before 1.06B02 and rev B before 2.03B01 Missing Authentication via tftpd_ready
No corrections so far. Something wrong on this page? Report an error.