CVE-2026-54691

HIGH CVSS 3.1: 8.2 EPSS 0.21%
Updated Jul 30, 2026
Koxudaxi
Parameter Value
CVSS 8.2 (HIGH)
Fixed In 0.61.0
Type CWE-918 (Server-Side Request Forgery (SSRF))
Vendor Koxudaxi
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products

koxudaxi:datamodel-code-generator