CVE-2026-54691
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.
Published:Jul 28, 2026
Last Modified:Jul 29, 2026
EPS:Jul 28, 2026
EPSS Score:0.00209
CVSS Score:8.2
Affected Products
Vendor
Product
Action
Vendor
Koxudaxi
Product
Datamodel-code-generator
Koxudaxi
Datamodel-code-generator
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
