CVE-2026-110638
doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path
CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 |
| Vendor | zepspaiva |
| Product | doc-recog |
| Published | Oct 14, 2026 |
Stay Ahead of the Next One
Get instant alerts for zepspaiva doc-recog
Be the first to know when new critical vulnerabilities affecting zepspaiva doc-recog are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
zepspaiva / doc-recog
0 โค 1.1.6
References
github.com: https://github.com/zepspaiva/doc-recog/pull/2 github.com: https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74 github.com: https://github.com/zepspaiva/doc-recog vulncheck.com: https://www.vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-path
Credits
Zachariah Mithani