Local File Inclusion Vulnerability in datamodel-code-generator by Koxudaxi
CVE-2026-55390

7.5HIGH

Key Information:

Vendor

Koxudaxi

Vendor
CVE Published:
28 July 2026

What is CVE-2026-55390?

The datamodel-code-generator is vulnerable due to improper handling of XML Schema parsing that allows the resolution of schemaLocation values outside the input base path. This can lead to arbitrary local file access, enabling potentially malicious users to read sensitive files and reflect their content into the generated models. The vulnerability affects versions from 0.59.0 to 0.62.0, which has remedied the issue. Users are strongly advised to upgrade to version 0.62.0 to mitigate this risk.

Affected Version(s)

datamodel-code-generator >= 0.59.0, < 0.62.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.