CVE-2026-63471
NoneCVSS
—
EPSS
0.3%
Published
Nov 3, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-115878 Stanza is a Stanford NLP Python library for tokenization, sentence segmentation, NER, and… CWE-94
- CVE-2026-115731 Deserialization of untrusted data in the report-processing code of Puppet, as used by… CWE-94
- CVE-2026-63470 fastapi-code-generator creates FastAPI applications from OpenAPI files. CWE-94
- CVE-2026-63469 fastapi-code-generator creates FastAPI applications from OpenAPI files. CWE-94
- CVE-2026-44267 Elo is a purely functional expression language for no-code tools. CWE-94
- CVE-2026-44266 Elo is a purely functional expression language for no-code tools. CWE-94
- CVE-2026-44265 Elo is a purely functional expression language for no-code tools. CWE-94
- CVE-2026-121260 A flaw has been found in Ziroom ZHOME A0101 1.0.1.0 Build 202004151405. CWE-94