critical9.3
CVE-2026-63470
fastapi-code-generator: Call-time RCE via operation summary -> unescaped route-handler docstring
Impact
fastapi-code-generator: Call-time RCE via operation summary -> unescaped route-handler docstring
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | fastapi-code-generator | < 0.8.1 | 0.8.1 |
Affected products · Koxudaxi
| Product | Affected versions |
|---|---|
| Fastapi-code-generator | before 0.8.1 Version < 0.8.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/koxudaxi/fastapi-code-generator/security/advisories/GHSA-h667-4jj2-cgv4
- https://github.com/koxudaxi/fastapi-code-generator/commit/49301dbdb82170d7f50877419d994b05cb1fa2bc
- https://github.com/koxudaxi/fastapi-code-generator/commit/b3b9bd66e0b0c4d8c686fda700258104615a1332
- https://github.com/koxudaxi/fastapi-code-generator/releases/tag/0.8.1
- https://github.com/advisories/GHSA-h667-4jj2-cgv4
- https://nvd.nist.gov/vuln/detail/CVE-2026-63470