Vulnerability

CVE-2026-54691

highCVSS 3.1 8.2Published 28 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /koxudaxi/datamodel-code-generator/commit/5fdba4a09f2d7a999…
  • github.com /koxudaxi/datamodel-code-generator/releases/tag/0.61.0
  • github.com /koxudaxi/datamodel-code-generator/security/advisories/GHSA…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning