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
Configurations
No configuration.
History
23 Oct 2026, 23:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
Information
Published : 2026-07-28 22:17
Updated : 2026-10-23 23:10
NVD link : CVE-2026-54691
Mitre link : CVE-2026-54691
CVE.ORG link : CVE-2026-54691
JSON object : View
Products Affected
No product.
CWE
CWE-918
Server-Side Request Forgery (SSRF)
