Skip to content

CVE-2026-110647 Turnpress through 0.4.2 OS Command Injection via Crafted .docx File Names

HighCVSS 8.5 EPSS 1.0%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm turnpress(npm) <= 0.4.2 after 0.4.2 Fixed

Affected products

ProductAffected versionsFixed in
npm turnpress(npm) <= 0.4.2 No fix listed

References