ezdxf through 1.4.5 contains a code injection vulnerability in the dxf2code add-on that allows attackers to inject
Source GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 27 Nov 2026, 03:34 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mozmanezdxf | Affected
| Fixed in– |
PyPIezdxfpkg:pypi/ezdxfOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is released, avoid processing untrusted DXF files with ezdxf versions through 1.4.5, especially with the dxf2code add-on enabled.
Description
ezdxf versions through 1.4.5 have a code injection vulnerability in the dxf2code add-on. This flaw allows attackers to inject arbitrary Python code via unescaped single quotes in DXF table entry names such as layer, linetype, style, or appid. Exploitation results in execution of attacker-controlled code with the privileges of the user running the script.
References
- nvd.nist.gov/vuln/detail/CVE-2026-137506 (opens in a new tab)
- github.com/mozman/ezdxf/issues/1489 (opens in a new tab)
- github.com/mozman/ezdxf/commit/8cde125a7370afb5988f73b978599172c05f53fd (opens in a new tab)
- github.com/mozman/ezdxf/blob/84ae31976940f99e6d5f4d3b2e9131da02b574fe/src/ezdxf/addons/dxf2code.py (opens in a new tab)
- vulncheck.com/advisories/ezdxf-through-1.4.5-code-injection-via-dxf2code-dxf-table-entry-names (opens in a new tab)