Turnpress through 0.4.2 OS Command Injection via Crafted .docx File Names
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.
CVE-2026-110647
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-110647
turnpress
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/jinghaihan/turnpress",
"vendor": "jinghaihan",
"product": "turnpress",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "0.4.2"
}
],
"packageURL": "pkg:npm/turnpress",
"collectionURL": "https://www.npmjs.com",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-110647
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #22954 · Revision 1
- Added to Heist Feed
- Publisher date