CVE-2026-63469: Vulnerability in Koxudaxi Fastapi-code-generator

Critical. 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...

PyPI, CWE-94, CWE-116

Exploitation
None confirmed
Severity
9.3 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-6xmv-cjr5-w3q8
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-94, CWE-116
Published
3 Nov 2026
Last change
9 Nov 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Koxudaxi Fastapi-code-generator Before 0.8.1; Version < 0.8.1. Fixed in 0.8.1

Affected packages

Vulnerable version ranges and fixed releases

  • fastapi-code-generator PyPI, Affected before 0.8.1. Fixed in 0.8.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related