{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-63469","published":"2026-11-03T20:18:15.420000Z","last_modified":"2026-11-09T16:17:34.210000Z","status":"Deferred","cvss":{"version":"4.0","score":9.3,"severity":"CRITICAL","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-94","CWE-116"],"cpes":[],"cpes_truncated":false,"vendors":["koxudaxi"],"products":["koxudaxi/fastapi-code-generator"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6xmv-cjr5-w3q8","ecosystem":"PyPI","name":"fastapi-code-generator","purl":"pkg:pypi/fastapi-code-generator","ranges":[{"introduced":"0","fixed":"0.8.1"}],"versions":["0.0.1","0.0.10","0.0.11","0.0.12","0.0.13","0.0.14","0.0.15","0.0.16","0.0.17","0.0.18","0.0.19","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.1.0","0.1.1","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.5.1","0.5.2","0.5.3","0.5.3rc0","0.5.4","0.6.0","0.7.0","0.8.0"],"versions_truncated":false}],"severity":"critical","priority_score":71,"links":{"html_es":"/es/cve/CVE-2026-63469/","html_en":"/en/cve/CVE-2026-63469/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-63469","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-63469"},"untrusted":{"vendor_name":"koxudaxi","product_name":"fastapi-code-generator","desc_en":"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 dictionary-key literal and inject a valid Python expression. Syntax-breaking input only causes generation to fail, but syntactically valid generated code executes with the application's or CI process's privileges when the generated module is imported and its decorator arguments are evaluated. This additional-response-key sink is distinct from the project's separate route-path and operation-summary sinks. This issue is fixed in version 0.8.1.","affected":[{"untrusted_vendor":"koxudaxi","untrusted_product":"fastapi-code-generator"}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"9333f525e6ff9b3acf38f22317ebc944","generated":"2026-11-26T23:30:51.494006Z","es":{"untrusted_title":"Inyección de código en fastapi-code-generator por respuestas OpenAPI sin escapar","untrusted_summary":"fastapi-code-generator genera aplicaciones FastAPI a partir de archivos OpenAPI. Versiones anteriores a 0.8.1 no escapan correctamente las comillas en claves de respuesta adicionales, permitiendo inyectar expresiones Python válidas. Un atacante puede controlar o influir en la segunda clave de respuesta de una operación OpenAPI multi-respuesta para ejecutar código arbitrario cuando el módulo generado se importa."},"en":{"untrusted_title":"Code injection in fastapi-code-generator via unescaped OpenAPI responses","untrusted_summary":"fastapi-code-generator generates FastAPI applications from OpenAPI files. Versions prior to 0.8.1 fail to properly escape quotes in additional response keys, allowing injection of valid Python expressions. An attacker can control or influence the second response key in a multi-response OpenAPI operation to execute arbitrary code when the generated module is imported."},"remediation":{"status":"fix","fixed_versions":["0.8.1"],"untrusted_action_es":"Actualiza fastapi-code-generator a versión 0.8.1 o posterior.","untrusted_action_en":"Update fastapi-code-generator to version 0.8.1 or later.","vendor_url":"https://github.com/koxudaxi/fastapi-code-generator/releases/tag/0.8.1"},"reviewed":false},"references":[{"url":"https://github.com/koxudaxi/fastapi-code-generator/commit/49301dbdb82170d7f50877419d994b05cb1fa2bc","tags":[]},{"url":"https://github.com/koxudaxi/fastapi-code-generator/commit/b3b9bd66e0b0c4d8c686fda700258104615a1332","tags":[]},{"url":"https://github.com/koxudaxi/fastapi-code-generator/releases/tag/0.8.1","tags":[]},{"url":"https://github.com/koxudaxi/fastapi-code-generator/security/advisories/GHSA-6xmv-cjr5-w3q8","tags":[]}]}}