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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 26 Nov 2026 20:15:00 +0000

Type Values Removed Values Added
Description 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.
Title ezdxf through 1.4.5 Code Injection via dxf2code DXF Table Entry Names
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-26T20:02:36.489Z

Reserved: 2026-11-26T12:43:17.050Z

Link: CVE-2026-137506

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-26T20:17:23.643

Modified: 2026-11-26T20:17:23.643

Link: CVE-2026-137506

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-26T21:30:03Z

Weaknesses