What’s Vulnerable › Vulnerabilities
CVE-2026-110647: Turnpress through 0.4.2 OS Command Injection via Crafted .docx File Names
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-14 · updated 2026-10-15
- Weakness: CWE-78
Description
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.
Affected products
- jinghaihan turnpress: through 0.4.2
References
- https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61
- https://github.com/jinghaihan/turnpress/pull/2
- https://www.vulncheck.com/advisories/turnpress-through-0.4.2-os-command-injection-via-crafted-docx-file-names
Get alerted when CVE-2026-110647 or the next vulnerability affects your stack