Vulnerability · Published Oct 14, 2026 · Assigned by VulnCheck
CVE-2026-110638doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path
Critical 9.8
In plain English
A critical-severity OS command injection in doc-recog from zepspaiva. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities).
Official description
doc-recog through 1.1.6 contains an OS command injection vulnerability that allows attackers to execute commands by supplying crafted document paths to recog() or tag(). Attackers can embed $(...) or backtick command substitution in the file path, which DocData._readPDF passes to a shell-based pdftotext exec call, running commands with Node.js process privileges.
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/zepspaiva/doc-recog/pull/2 issue-tracking, patch
- https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74 technical-description
- https://github.com/zepspaiva/doc-recog product
- VulnCheck Advisory: doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path third-party-advisory