---
title: "CVE-2026-137506: ezdxf - Command Injection"
description: "ezdxf through 1.4.5 contains a code injection vulnerability caused by unescaped single quotes in DXF table entry names in the dxf2code add-on, letting attackers inject Python code executed with user privileges, exploit requires crafted DXF files."
url: https://panop.io/threat-heartbeat/CVE-2026-137506/
---

# CVE-2026-137506 ezdxf - Command Injection

ezdxf through 1.4.5 contains a code injection vulnerability caused by unescaped single quotes in DXF table entry names in the dxf2code add-on, letting attackers inject Python code executed with user privileges, exploit requires crafted DXF files.

CVSS base score 7.8 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-137506)

## Details

Type

Command Injection

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

26 November 2026

Updated

27 November 2026

Weakness

[CWE-94](https://cwe.mitre.org/data/definitions/94.html)

## Vendor fix

Update to the latest version beyond 1.4.5 that fixes this vulnerability.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-137506](https://nvd.nist.gov/vuln/detail/CVE-2026-137506)
- [https://github.com/mozman/ezdxf/blob/84ae31976940f99e6d5f4d3b2e9131da02b574fe/src/ezdxf/addons/dxf2code.py#L477-L481](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/commit/8cde125a7370afb5988f73b978599172c05f53fd)
- [https://github.com/mozman/ezdxf/issues/1489](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](https://www.vulncheck.com/advisories/ezdxf-through-1.4.5-code-injection-via-dxf2code-dxf-table-entry-names)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
