VulnerabilityCVE-2026-54691GHSA-rfr2-mq9m-x2qx
datamodel-code-generator vulnerable to SSRF via --url: no host/IP validation, follows redirects
Not on CISA KEVCVSS 8.2 (v3.1)
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,
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CISA Vulnrichment Source: CISA Vulnrichment
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)