CVE-2026-110647
Turnpress through 0.4.2 OS Command Injection via Crafted .docx File Names
- State
- Published
- Severity
- 8.5 High
- Published
- Oct 14, 2026
- Updated
- Oct 14, 2026
- Reserved
- Oct 14, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.5 High | 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 | VulnCheck |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
turnpressjinghaihan |
|
References
- https://github.com/jinghaihan/turnpress/pull/2patchissue-tracking
- https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61technical-description
- VulnCheck Advisory: Turnpress through 0.4.2 OS Command Injection via Crafted .docx File Namesthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.