datamodel-code-generator generates Python data models from schema definitions. From 0.9.1 until 0.61.0, src/datamodel_code_generator/http.py http.get_body accepts --url targets and redirect chain targets without host/IP validation, allowing server-side request forgery against loopback, private, link-local, metadata, and other network-accessible resources. This issue is fixed in version 0.61.0.
CVE-2026-54691
This high-severity CVE scores 8.2 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 89% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.2
- EG Score
- 8.2(medium)
- EG Risk
- 53(Track)EG Risk 53/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity82% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 11%
- KEV
- Not listed
Published
July 28, 2026
Last Modified
July 29, 2026
Advisory Details (3)
Auto-updated Jul 28, 20260.61.0
Patch available: koxudaxi/datamodel-code-generator 0.61.0
https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.61.0commit 5fdba4a09f2d (koxudaxi/datamodel-code-generator)
Patch available: koxudaxi/datamodel-code-generator 0.61.0 (contains commit 5fdba4a09f2d)
https://github.com/koxudaxi/datamodel-code-generator/commit/5fdba4a09f2d7a9996a504975b7ef7d63e3715bbSSRF in datamodel-code-generator via --url: no host/IP validation, follows redirects · Advisory · koxudaxi/datamodel-code-generator · GitHub
https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-rfr2-mq9m-x2qxVendor Advisories for CVE-2026-54691(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| datamodel-code-generator | 0.10.0 ... 0.9.4 (135 versions) | 0.61.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 7× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-30 04:29 UTCEG score recompute
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 15:24 UTCEG score recompute
- 2026-07-29 14:49 UTCEG score recompute
- 2026-07-28 22:27 UTCEG score recompute
- 2026-07-28 21:55 UTCEG score recompute
- 2026-07-28 21:52 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-918
- CVE-2016-10927EG 10.0CRITICAL
- CVE-2016-10926EG 10.0CRITICAL
- CVE-2018-10511EG 10.0CRITICAL
- CVE-2018-1000124EG 10.0CRITICAL
- CVE-2017-11291EG 10.0EPSS p92CRITICAL
- CVE-2017-12905EG 10.0CRITICAL
- CVE-2017-8794EG 10.0CRITICAL
- CVE-2017-13667EG 9.9CRITICAL
- CVE-2017-17674EG 9.8CRITICAL
- CVE-2013-4864EG 9.8EPSS p93CRITICAL
Frequently asked(5)
What is CVE-2026-54691?
When was CVE-2026-54691 disclosed?
Is CVE-2026-54691 actively exploited?
What is the CVSS score of CVE-2026-54691?
How do I remediate CVE-2026-54691?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-54691
Is Your Infrastructure Affected by CVE-2026-54691?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.