CVE-2026-63471
Last modified
CVE-2026-63471 is a critical-severity vulnerability rated 9.3/10 on the CVSS scale. fastapi-code-generator creates FastAPI applications from OpenAPI files. Prior to 0.8.1, the generator inserts an OpenAPI path into a generated @app.get(...) route decorator as a single-quoted generated route string without escaping embedded quotes. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
fastapi-code-generator creates FastAPI applications from OpenAPI files. Prior to 0.8.1, the generator inserts an OpenAPI path into a generated @app.get(...) route decorator as a single-quoted generated route string without escaping embedded quotes. An attacker-controlled or attacker-influenced OpenAPI path can close the string and inject a valid Python expression into the decorator argument. Syntax-breaking input only causes generation to fail, but syntactically valid generated code executes with the application's or CI process's privileges when the generated module is imported and the decorator is evaluated. This OpenAPI path sink is distinct from the project's separate operation-summary docstring and additional-response-key sinks. This issue is fixed in version 0.8.1.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| koxudaxi | fastapi-code-generator | < 0.8.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-63471?
How severe is CVE-2026-63471?
How do I fix CVE-2026-63471?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-63462Unleash is an open-source feature management platform. Prior…7.5
- CVE-2026-63464nebula-mesh is a self-hosted control plane for Slack Nebula …7.7
- CVE-2026-63466Unleash is an open-source feature management platform. Prior…4.1
- CVE-2026-63469fastapi-code-generator creates FastAPI applications from Ope…9.3
- CVE-2026-6347Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13, 1…7.6
- CVE-2026-63470fastapi-code-generator creates FastAPI applications from Ope…9.3
- CVE-2026-63472Vendure is an open-source headless commerce platform. Prior …9.1
- CVE-2026-63475isomorphic-git is a pure JavaScript implementation of Git fo…4.3
- CVE-2026-63476isomorphic-git is a pure JavaScript implementation of Git fo…4.3
- CVE-2026-63478isomorphic-git is a pure JavaScript implementation of Git fo…5.3
- CVE-2026-6348WinMatrix agent developed by Simopro Technology has a Missin…8.8
- CVE-2026-63481Hurl is a command line tool that runs and tests HTTP request…6.9
Are you affected by CVE-2026-63471?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
