CVE-2026-110638 doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path
CriticalCVSS 9.3
EPSS 2.7%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm doc-recog(npm) | <= 1.1.6 | after 1.1.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm doc-recog(npm) | <= 1.1.6 | No fix listed |
References
- github.com issue-tracking patch
- github.com technical-description
- github.com product
- VulnCheck Advisory: doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path third-party-advisory
- ENISA EUVD EUVD-2026-101266 third-party-advisory