本文へ移動

#CVE-2026-63470

脆弱性の一覧へ戻る

編集部の見出し:fastapi-code-generator:操作のsummary経由でコード実行

CVE(NVD)CVSS 9.3 CriticalEPSS 0.5%

NVD の情報

fastapi-code-generator creates FastAPI applications from OpenAPI files. Prior to 0.8.1, the generator inserts Operation.summary into a generated route-handler docstring as a triple-double-quoted string without escaping embedded triple quotes. An attacker-controlled or attacker-influenced operation summary can close the docstring and inject a valid Python expression statement into the handler body. Syntax-breaking input only causes generation to fail, but syntactically valid generated code executes with the server process's privileges when the affected route handler is called. This call-time route-handler docstring sink is distinct from the project's separate import-time route-path and additional-response-key sinks. This issue is fixed in version 0.8.1.

公開日
2026-11-03
最終更新(NVD)
2026-11-03
NVD の状態
Deferred
脆弱性の種類
CWE-116、CWE-94

深刻度(CVSS)

  • 9.3 CriticalCVSS 4.0/副/評価:security-advisories@github.comCVSS: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

悪用の状況

CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。

EPSS:今後30日に悪用される推定確率 0.47%(全体の上位 58.8%、評価日 2026-11-18)

解消方法

  • 解消方法の情報なし

「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。

編集部の記載(レポート掲載時)

レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。

2026-11-10 のレポートfastapi-code-generator:操作のsummary経由でコード実行

GitHub公告の4.0で9.3。0.8.1で修正。

参照(NVD)

NVD から取得:2026-11-18T15:40:21.397Z/EPSS 評価日:2026-11-18

This product uses the NVD API but is not endorsed or certified by the NVD.

悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。