THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-6xmv-cjr5-w3q8 (critical) — fastapi-code-generator: Import-time RCE via response status-code key -> unescaped @app.get(..., responses={...}) dict

[GHSA] GHSA-6xmv-cjr5-w3q8 (critical) — fastapi-code-generator: Import-time RCE via response status-code key -> unescaped @app.get(..., responses={...}) dict

medgithub_advisoriesPublished 2026-11-09

GHSA-6xmv-cjr5-w3q8 Severity: critical CVE: CVE-2026-63469

fastapi-code-generator: Import-time RCE via response status-code key -> unescaped @app.get(..., responses={...}) dict

### Summary

fastapi-code-generator (koxudaxi) emits an operation's extra responses into the route decorator's responses={...} dict, using each response's status-code key as a single-quoted string literal without escaping

Indicators of compromise

Original source: https://github.com/advisories/GHSA-6xmv-cjr5-w3q8