CVE-2026-110638: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in zepspaiva doc-recog
Description
doc-recog versions up to 1.1.6 contain an OS command injection vulnerability. This flaw allows attackers to execute arbitrary OS commands by supplying specially crafted document paths to the recog() or tag() functions. The vulnerability arises because the file path is passed unsafely to a shell-based pdftotext execution call within DocData._readPDF, enabling command substitution via $(...) or backticks. The vulnerability has a critical severity with a CVSS 4.0 score of 9.3.
CVSS v4.0
Score 9.3critical
Affected software
zepspaiva
doc-recog
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
Technical Analysis
CVE-2026-110638 is an OS command injection vulnerability in the zepspaiva doc-recog library through version 1.1.6. The vulnerability occurs when an attacker supplies a malicious document path containing shell command substitution syntax ($(...) or backticks) to the recog() or tag() functions. The vulnerable code passes this path to a shell execution of pdftotext within the DocData._readPDF method, allowing arbitrary command execution with the privileges of the Node.js process running doc-recog.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands on the host running doc-recog, potentially leading to full system compromise depending on the Node.js process privileges. The vulnerability is critical due to its ability to execute commands without any required privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted document paths with doc-recog or implement strict input validation and sanitization to prevent command injection. Monitor official vendor channels for updates and patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-14T13:07:32.721Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6acf92f22cdf04f6568a393b
Added to database: 10/14/2026, 14:34:26 UTC
Last enriched: 10/14/2026, 14:48:58 UTC
Last updated: 10/14/2026, 19:00:33 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.