Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-54691
VULNERABILITY

CVE-2026-54691

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.2
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Timeline

Published
Jul 28, 2026 22:17
Modified
Oct 23, 2026 23:10
Last observed
Oct 23, 2026 20:11

CWE

CWE-918

References