# fastapi-code-generator (PyPI) CVEs

3 known CVEs (3 critical), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 0.8.1 (Jul 1, 2026): no advisory affects it
- Newest unaffected release: 0.8.1 (Jul 1, 2026), the latest release
- Downloads on affected versions: 76% of fastapi-code-generator downloads last week (12K of 15.8K) were on a version affected by at least one advisory
- Weekly downloads: 19.7K
- Dependents: 0
- Releases: 51 since 0.0.1 (Jun 14, 2020)
- Registry: https://pypi.org/project/fastapi-code-generator/
- Releases read: Nov 23, 2026
- Downloads read: Nov 17, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-63471: 0.0.1 to 0.8.0 (0.8.1 is outside it)
- CVE-2026-63469: 0.0.1 to 0.8.0 (0.8.1 is outside it)
- CVE-2026-63470: 0.0.1 to 0.8.0 (0.8.1 is outside it)

## Advisories (3)

### [CVE-2026-63471](https://cve.now/CVE-2026-63471): fastapi-code-generator: Import-time RCE via route path -\> unescaped @app.get('...') decorator

- Severity: Critical 9.3
- Published: Nov 3, 2026
- Affected: fixed in 0.8.1; fixed in 0.8.1.
- Fixed in 0.8.1 (released Jul 1, 2026, 125 days before disclosure).
- The latest release, 0.8.1, is not affected.
- 76% of fastapi-code-generator downloads last week were affected versions (12K).

### [CVE-2026-63469](https://cve.now/CVE-2026-63469): fastapi-code-generator: Import-time RCE via response status-code key -\> unescaped @app.get(..., responses={...}) dict

- Severity: Critical 9.3
- Published: Nov 3, 2026
- Affected: fixed in 0.8.1; fixed in 0.8.1.
- Fixed in 0.8.1 (released Jul 1, 2026, 125 days before disclosure).
- The latest release, 0.8.1, is not affected.
- 76% of fastapi-code-generator downloads last week were affected versions (12K).

### [CVE-2026-63470](https://cve.now/CVE-2026-63470): fastapi-code-generator: Call-time RCE via operation summary -\> unescaped route-handler docstring

- Severity: Critical 9.3
- Published: Nov 3, 2026
- Affected: fixed in 0.8.1; fixed in 0.8.1.
- Fixed in 0.8.1 (released Jul 1, 2026, 125 days before disclosure).
- The latest release, 0.8.1, is not affected.
- 76% of fastapi-code-generator downloads last week were affected versions (12K).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/pypi/fastapi-code-generator
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
