PT-2026-136355

CVE-2026-63469

·

Published

2026-11-03

·

Updated

2026-11-11

Description by

CVSS 4.0
9.3
Critical
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions fastapi-code-generator versions prior to 0.8.1
Description The software generates FastAPI applications from OpenAPI files. A flaw exists where the generator inserts a response status-code key into the responses={...} route-decorator dictionary as a single-quoted Python string without escaping embedded quotes. An attacker can use a multi-response OpenAPI operation with a controlled second non-primary response key to close the dictionary-key literal and inject a valid Python expression. This allows the execution of arbitrary code with the privileges of the application or CI process when the generated module is imported and its decorator arguments are evaluated.
Recommendations Update to version 0.8.1.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-6XMV-CJR5-W3Q8
Found an issue in the description? Have something to add? Feel free to write us 👾