CVE-2026-54691
Last modified
CVE-2026-54691 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| koxudaxi | datamodel-code-generator | >= 0.9.1, < 0.61.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54691?
How severe is CVE-2026-54691?
How do I fix CVE-2026-54691?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54680Logging operator automates the deployment and configuration …9.9
- CVE-2026-54684jadx is a Dex to Java decompiler. From 1.5.2 to 1.5.5, a mal…7
- CVE-2026-54685FileBrowser Quantum is a free, self-hosted, web-based file m…5.3
- CVE-2026-54686Warp is an agentic development environment. From 0.2021.04.2…4.3
- CVE-2026-5469A weakness has been identified in Casdoor 2.356.0. This vuln…7.2
- CVE-2026-54690datamodel-code-generator generates Pydantic v2 models, datac…8.2
- CVE-2026-54693ZITADEL is an open source identity management platform. From…8.2
- CVE-2026-54695Pipecat is an open-source Python framework for building real…6.5
- CVE-2026-54696Ruby JSON is a JSON implementation for Ruby. Versions 2.9.0 …3.7
- CVE-2026-54698Hasura is an open-source product that provides users GraphQL…6
- CVE-2026-54699Warp is an agentic development environment. From 0.2024.03.1…7.7
- CVE-2026-5470A security vulnerability has been detected in mixelpixx Goog…6.3
Are you affected by CVE-2026-54691?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
