Code Injection Vulnerability in ezdxf dxf2code Add-on
CVE-2026-137506

8.5HIGH

Key Information:

Vendor

Mozman

Status
Vendor
CVE Published:
26 November 2026

What is CVE-2026-137506?

The ezdxf library, specifically through version 1.4.5, contains a vulnerability in its dxf2code add-on. This vulnerability enables attackers to inject arbitrary Python code by exploiting unescaped single quotes in DXF table entry names. By crafting malicious DXF files, attackers can manipulate layer, linetype, style, or appid names in a way that allows breaking out of quoted strings during script generation, leading to unauthorized code execution with the privileges of the user who runs the affected scripts. This poses significant risks for users and requires immediate remediation.

Affected Version(s)

ezdxf 0 <= 1.4.5

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Dilanka Kaushal Hewage (r3vpwnx)
.