← 취약점·업데이트

긴급취약점 권고PythonFastAPI

fastapi-code-generator: Call-time RCE via operation summary -> unescaped route-handler docstring

영향

패키지영향받는 버전수정 버전
pip:fastapi-code-generator< 0.8.10.8.1

fastapi-code-generator (koxudaxi) emits an operation's summary as the generated route handler's docstring, using a triple-quoted string without escaping """. A """ in the summary closes the docstring and, via concatenation, injects a live expression that becomes an expression statement in the handler body -- which runs when the route handler is CALLED (the endpoint is hit). The summary is a pure data field. Verified on fastapi-code-generator 0.8.0 / Python 3 / FastAPI. Details python def get_th…

GitHub Advisory Database에서 읽기

2026. 11. 10. 오전 03:50, GitHub Advisory Database에서 "fastapi-code-generator: Call-time RCE via operation summary -> unescaped route-handler docstring"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "긴급"(critical)입니다. 관련 기술: Python, FastAPI. CVE: CVE-2026-63470.