Code Injection Vulnerability in ezdxf dxf2code Add-on
CVE-2026-137506
8.5HIGH
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
