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
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-54686Warp is an agentic development environment. From 0.2021.04.2…4.3
- CVE-2026-54687n8n-nodes-sqlite3 is a node for operating a local SQLite dat…9.8
- CVE-2026-54688mcp-searxng is a Model Context Protocol server that gives AI…6.5
- CVE-2026-54689mcp-searxng is a Model Context Protocol server that gives AI…6.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-54692SAIL is a cross-platform library for loading and saving imag…7.8
- CVE-2026-54693ZITADEL is an open source identity management platform. From…8.2
- CVE-2026-54694SkillTree is a micro-learning gamification platform. Prior t…9.6
- 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…5.9
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
