PT-2026-136356

CVE-2026-63470

·

Published

2026-11-03

·

Updated

2026-11-09

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 the Operation.summary into a generated route-handler docstring as a triple-double-quoted string without escaping embedded triple quotes. An attacker who can control or influence the operation summary can close the docstring and inject a valid Python expression statement into the handler body. While syntax-breaking input causes the generation process to fail, syntactically valid injected code executes with the privileges of the server process when the affected route handler is called.
Recommendations Update fastapi-code-generator to version 0.8.1.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-H667-4JJ2-CGV4
Found an issue in the description? Have something to add? Feel free to write us 👾