{"id":"CVE-2026-137506","summary":"ezdxf through 1.4.5 Code Injection via dxf2code DXF Table Entry Names","details":"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.","modified":"2026-11-26T23:01:01.870813805Z","published":"2026-11-26T20:02:36.489Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137506.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137506.json"},{"type":"PACKAGE","url":"https://github.com/mozman/ezdxf"},{"type":"ARTICLE","url":"https://github.com/mozman/ezdxf/blob/84ae31976940f99e6d5f4d3b2e9131da02b574fe/src/ezdxf/addons/dxf2code.py#L477-L481"},{"type":"FIX","url":"https://github.com/mozman/ezdxf/commit/8cde125a7370afb5988f73b978599172c05f53fd"},{"type":"REPORT","url":"https://github.com/mozman/ezdxf/issues/1489"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137506"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ezdxf-through-1.4.5-code-injection-via-dxf2code-dxf-table-entry-names"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mozman/ezdxf","events":[{"introduced":"0"},{"last_affected":"84ae31976940f99e6d5f4d3b2e9131da02b574fe"},{"fixed":"8cde125a7370afb5988f73b978599172c05f53fd"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"1.4.5"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"8cde125a7370afb5988f73b978599172c05f53fd"}]}]}}],"versions":["v1.4.5","v1.4.5b2","v1.4.5b1","v1.4.4","v1.4.4b4","v1.4.4b3","v1.4.4b2","v1.4.4b1","v1.4.3","v1.4.3b3","v1.4.3b2","v1.4.3b0","v1.4.2","v1.4.2b1","v1.4.2b0","v1.4.1","v1.4.1b2","v1.4.1b1","v1.4.1b0","v1.4.0","v1.4.0b3","v1.4.0b2","v1.4.0b1","v1.4.0b0","v1.3.5","v1.3.5b0","v1.3.4","v1.3.4rc0","v1.3.4b0","v1.3.3","v1.3.2","v1.3.2b1","v1.3.1","v1.3.1b1","v1.3.1b0","v1.3.0","v1.3.0rc0","v1.2.0","v1.3.0b1","v1.3.0b0","v1.2.1a0","v1.2.0b3","v1.2.0b2","v1.2.0b1","v1.2.0b0","v1.1.3","v1.1.3b1","v1.1.3b0","v1.1.2","v1.1.2rc0","v1.1.2b0","v1.1.1","v1.1.1b0","v1.1.0","v1.1.0rc0","v1.1.0b5","v1.1.0b4","v1.1.0b3","v1.1.0b2","v1.1.0b1","v1.1.0b0","v1.0.4b1","v1.0.3","v1.0.3b0","v1.0.2","v1.0.2b1","v1.0.2b0","v1.0.1","v1.0.1b1","v1.0.1b0","v1.0.0","v1.0.0rc2","v1.0.0rc1","v1.0.0rc0","v1.0.0b1","v1.0.0b0","v0.18.1","v0.18.1b0","v0.18","v0.18b7","v0.18b6","v0.18b5","v0.18b4","v0.17.2","v0.18b3","v0.18b2","v0.18b0","v0.17.2b5","v0.17.2b4","v0.17.2b3","v0.17.2b2","v0.17.2b1","v0.17.2b0","v0.17.1","v0.17.1b3","v0.17.1b2","v0.17.1b1","v0.17.1b0","v0.17","v0.17b2","v0.17b1","v0.17b0","v0.16.6","v0.16.6b2","v0.16.6b1","v0.16.6b0","v0.16.5","v0.16.5b1","v0.16.5b0","v0.16.4","v0.16.4b2","v0.16.4b1","v0.16.4b0","v0.16.3b1","v0.16.3b0","v0.16.1","v0.16.1b0","v0.16","v0.16rc0","v0.16b2","v0.16b1","v0.16b0","v0.15.2","v0.15.2b0","v0.15.1","v0.15.1b0","v0.15","v0.15b2","v0.15b1a","v0.15b1","v0.14","v0.13","v0.12.3","v0.12","v0.11.1","v0.12b1","v0.12b0","v0.11","v0.11b1","v0.11b0","v0.11a4","v0.10.2","v0.10.1","v0.10","new-entity-layer","v0.9b1","v0.8.9","v0.8.8","v0.8.7","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.9","v0.7.8","0.7.7","0.7.6","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137506.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}