CVE-2026-63470
Last modified
CVE-2026-63470 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 Operation.summary into a generated route-handler docstring as a triple-double-quoted string without escaping embedded triple quotes.
Description
fastapi-code-generator creates FastAPI applications from OpenAPI files. Prior to 0.8.1, the generator inserts Operation.summary into a generated route-handler docstring as a triple-double-quoted string without escaping embedded triple quotes. An attacker-controlled or attacker-influenced operation summary can close the docstring and inject a valid Python expression statement into the handler body. Syntax-breaking input only causes generation to fail, but syntactically valid generated code executes with the server process's privileges when the affected route handler is called. This call-time route-handler docstring sink is distinct from the project's separate import-time route-path 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-63470?
How severe is CVE-2026-63470?
How do I fix CVE-2026-63470?
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-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-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-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
- 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
Are you affected by CVE-2026-63470?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
