{"id":"ghsa-ghsa-6xmv-cjr5-w3q8","seq":5742050,"kind":"advisory","title":"fastapi-code-generator: Import-time RCE via response status-code key -> unescaped @app.get(..., responses={...}) dict","url":"https://github.com/advisories/GHSA-6xmv-cjr5-w3q8","permalink":"https://vulnpulse.app/items/ghsa-ghsa-6xmv-cjr5-w3q8","summary":"影響: pip:fastapi-code-generator < 0.8.1 → 0.8.1\nfastapi-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 the '. A ' in a status-code key closes the dict-key string and, via concatenation, injects a live expression that the decorator argument evaluates when main.py is imported (the ASGI server imports it at startup) -- code execution, no request. The status-code key is a pure data field. Verif…","severity":"critical","cvss":null,"techs":["python","fastapi"],"cves":["CVE-2026-63469"],"tags":["GHSA-6xmv-cjr5-w3q8","fastapi-code-generator"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-11-09T19:46:27.000Z","fetched_at":"2026-11-10T16:07:52.430Z"}