Skip to main content

CVE-2026-110647: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in jinghaihan turnpress

0
High
VulnerabilityCVE-2026-110647cvecve-2026-110647
Published: 10/14/2026 (10/14/2026, 14:17:15 UTC)
Source: CVE Database V5
Vendor/Project: jinghaihan
Product: turnpress

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.

CVSS v4.0

Score 8.5high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

jinghaihan

turnpress

Affected versions
>=0 <=0.4.2
turnpress
pkg:npm/turnpress
Affected versions
>=0 <=0.4.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/14/2026, 14:48:26 UTC

Technical Analysis

CVE-2026-110647 is an OS command injection vulnerability in jinghaihan's Turnpress product, affecting versions up to 0.4.2. The vulnerability occurs in the convertDocxToHtml function located in src/converter.ts, which calls the pandoc tool via the execa library with shell:true enabled. This allows attackers to supply .docx files with specially crafted filenames containing shell metacharacters, resulting in arbitrary shell command execution under the privileges of the victim during document conversion or creation.

Potential Impact

An attacker who can supply a maliciously named .docx file can execute arbitrary shell commands on the affected system with the privileges of the user running Turnpress. This can lead to compromise of the system, data loss, or further attacks. The CVSS 4.0 score is 8.5 (high), indicating significant impact with local attack vector, low attack complexity, no privileges required, but user interaction needed.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted .docx files with Turnpress. Consider running Turnpress in a restricted environment or sandbox to limit potential damage from exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-14T13:07:35.737Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6acf92f52cdf04f6568a4e3f

Added to database: 10/14/2026, 14:34:29 UTC

Last enriched: 10/14/2026, 14:48:26 UTC

Last updated: 10/14/2026, 19:00:29 UTC

Views: 13

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses