{"id":"CVE-2026-110647","summary":"Turnpress through 0.4.2 OS Command Injection via Crafted .docx File Names","details":"Turnpress through 0.4.2 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying .docx files with crafted names. The convertDocxToHtml function in src/converter.ts invokes pandoc through execa with shell:true, so shell metacharacters in the --docx path run with the victim's privileges during convert or create.","modified":"2026-10-16T02:47:31.799902322Z","published":"2026-10-14T14:17:15.770Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110647.json"},"references":[{"type":"WEB","url":"https://www.npmjs.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110647.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110647"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/turnpress-through-0.4.2-os-command-injection-via-crafted-docx-file-names"},{"type":"FIX","url":"https://github.com/jinghaihan/turnpress/pull/2"},{"type":"PACKAGE","url":"https://github.com/jinghaihan/turnpress"},{"type":"ARTICLE","url":"https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jinghaihan/turnpress","events":[{"introduced":"0"},{"fixed":"937e203ea8b62d22f0f47db049d404f843760e25"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.4.2"},{"fixed":"0.4.2"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v0.4.1","v0.4.0","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.1","v0.2.0","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-110647.json"}}],"schema_version":"1.9.0","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"}]}