{"id":"CVE-2026-110647","title":"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","summary":"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…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-78"],"vendor":"jinghaihan","product":"turnpress","affected":["turnpress <= 0.4.2"],"published":"2026-10-14","updated":"2026-10-15","sourceUpdated":"2026-10-15T14:47:05.720","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-110647","references":[{"url":"https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61","label":"disclosure@vulncheck.com"},{"url":"https://github.com/jinghaihan/turnpress/pull/2","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/turnpress-through-0.4.2-os-command-injection-via-crafted-docx-file-names","label":"disclosure@vulncheck.com"}],"tags":["nvd","cve.org"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-14T18:19:28.425026Z"},"ingestedAt":"2026-10-14T15:36:14.017Z","epss":0.01037,"epssPercentile":0.63746,"slug":"CVE-2026-110647","body":"## Overview\n\nTurnpress 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}