CVE-2026-54691: koxudaxi datamodel-code-generator · Server-Side Request Forgery (SSRF)
Affects koxudaxi datamodel-code-generatorSource CVE Database V5
Not known to be exploited · CVSS 8.2 High : upgrade to 0.61.0 soon.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.61.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade koxudaxi datamodel-code-generator to 0.61.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| koxudaxidatamodel-code-generator | Affected
| Fixed in
|
AI-suggested
This vulnerability is fixed in datamodel-code-generator version 0.61.0. Users should upgrade to version 0.61.0 or later to remediate this issue. No other official remediation or temporary fixes are documented. Patch status is confirmed by the vendor advisory stating the fix in 0.61.0.
Description
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.
References
- github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-rfr2-mq9m-x2qx (opens in a new tab)
- github.com/koxudaxi/datamodel-code-generator/commit/5fdba4a09f2d7a9996a504975b7ef7d63e3715bb (opens in a new tab)
- github.com/koxudaxi/datamodel-code-generator/releases/tag/0.61.0 (opens in a new tab)