OS command injection in Turnpress via crafted .docx file names
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
Turnpress through 0.4.2 contains an OS command injection flaw, tracked as CWE-78, in the convertDocxToHtml function. Because pandoc is invoked with shell enabled, shell metacharacters in the names of supplied .docx files are executed. A local user with no privileges can run shell commands with the victim's privileges if the victim runs convert or create on a crafted file, with user interaction required.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jinghaihan | turnpress | up to 0.4.2 | — | No fix listed | CNA |
- turnpress Vendorjinghaihan Affected up to 0.4.2 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for turnpress.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-14 Threatist record created from CVE-2026-110647
- 2026-10-14 Alias added: GHSA-f273-crjh-xp28
- 2026-10-15 CISA SSVC decision points changed
- 2026-10-15 Priority changed: MEDIUM → LOW
- 2026-10-16 Priority changed: LOW → MEDIUM
References
Sources
- CVE-2026-110647 · CVE Program
- CVE-2026-110647 · NVD
- FIRST EPSS
- GHSA-f273-crjh-xp28 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences