CVE-2026-137506
7.8HighPublished Nov 26, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-94
What an attacker gets
Attackers can execute arbitrary Python code with the privileges of the user running the application. This requires a user to open a maliciously crafted DXF file using the dxf2code add-on.
Root cause
The dxf2code add-on fails to escape single quotes in DXF table entry names, allowing them to break out of generated Python string literals.
Affected versions
ezdxf through 1.4.5
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to a version beyond 1.4.5 that includes the fix. If you cannot upgrade, disable or restrict the use of the dxf2code add-on when processing untrusted DXF files.
$ pip install --upgrade ezdxfAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://github.com/mozman/ezdxf/blob/84ae31976940f99e6d5f4d3b2e9131da02b574fe/src/ezdxf/addons/dxf2code.py#L477-L481
- https://github.com/mozman/ezdxf/commit/8cde125a7370afb5988f73b978599172c05f53fd
- https://github.com/mozman/ezdxf/issues/1489
- https://www.vulncheck.com/advisories/ezdxf-through-1.4.5-code-injection-via-dxf2code-dxf-table-entry-names
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-805017.8HighA local attacker with low privileges can cause a denial of service on the system. This requires local access to the virtual appliance.
- CVE-2026-1379387.0HighLocal attackers can escalate privileges to root by exploiting a race condition during the update installation process. This requires the attacker to have local access to the machine and the ability to manipulate symlinks during the installer's execution.
- CVE-2026-1379077.8HighAttackers can execute arbitrary code or crash applications by providing crafted high-bit-depth media files. This requires a user to process a malicious PFM or OpenEXR image through the boxblur filter.
- CVE-2026-1377467.5HighRemote attackers can cause a denial of service by exhausting system resources in the SMF component. No authentication is required to trigger this crash.
- CVE-2026-1359507.1HighRemote attackers can execute arbitrary JavaScript in a user's browser session. This requires a user with administrative privileges to interact with the malicious input.
- CVE-2026-1359487.1HighRemote attackers can execute arbitrary scripts in a user's browser via stored XSS. This requires a user with administrative privileges to view the malicious payload injected into the plugin settings.