Code injection in ezdxf dxf2code add-on via DXF table entry names
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
ezdxf through 1.4.5 contains a code injection flaw in its dxf2code add-on, classified as CWE-94. Unescaped single quotes in layer, linetype, style or appid names let a crafted DXF file break out of quoted strings in generated scripts. An attacker who gets a user to process such a file can execute Python code with that user's privileges.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
ezdxf through 1.4.5 contains a code injection vulnerability in the dxf2code add-on that allows attackers to inject Python code via unescaped single quotes in DXF table entry names. Attackers can craft a DXF file whose layer, linetype, style, or appid names break out of quoted strings in generated scripts, executing code with the privileges of the user running them.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for ezdxf.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137506
- 2026-11-27 Alias added: GHSA-39vw-7rhc-wc4w
References
Sources
- CVE-2026-137506 · CVE Program
- CVE-2026-137506 · NVD
- FIRST EPSS
- GHSA-39vw-7rhc-wc4w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences