CVE-2026-63469
Last modified
CVE-2026-63469 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 additional response status-code key into the generated responses={...} route-decorator dictionary as a single-quoted Python string without escaping embedded quotes.
Description
fastapi-code-generator creates FastAPI applications from OpenAPI files. Prior to 0.8.1, the generator inserts an additional response status-code key into the generated responses={...} route-decorator dictionary as a single-quoted Python string without escaping embedded quotes. A multi-response OpenAPI operation with an attacker-controlled or attacker-influenced second non-primary response key can close the dictionary-key literal and inject a valid Python expression. 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 its decorator arguments are evaluated. This additional-response-key sink is distinct from the project's separate route-path and operation-summary 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-63469?
How severe is CVE-2026-63469?
How do I fix CVE-2026-63469?
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-6346Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13, 1…8.7
- CVE-2026-63460Vendure is an open-source headless commerce platform. Prior …7.5
- CVE-2026-63461Vendure is an open-source headless commerce platform. Prior …5.3
- 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-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-63471fastapi-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
Are you affected by CVE-2026-63469?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
