CVE-2026-110638
doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path
zepspaiva doc-recog
CVSS
9.3CriticalExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)2.73%Chance of exploitation activity in the next 30 days, higher than 85% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 1
- doc-recogaffected: all versions through 1.1.6CVE List
References 4
- github.com/zepspaiva/doc-recog/pull/2Fixvia CVE List
- vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-pathAdvisoryvia CVE List
- github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74Referencevia CVE List
- github.com/zepspaiva/doc-recogReferencevia CVE List