CVE-2026-110638: zepspaiva doc-recog · OS Command Injection
Affects zepspaiva doc-recogSource CVE Database V5
Not known to be exploited · CVSS 9.3 Critical.
Data as of 27 Nov 2026, 22:51 UTC
- EPSS
- 3.0% chance of exploitation in 30 days – higher than 88% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| zepspaivadoc-recog | Affected
| Fixed in– |
npmdoc-recogpkg:npm/doc-recogOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid processing untrusted document paths with doc-recog or implement strict input validation and sandboxing to prevent command injection.
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 Node.js, enabling command substitution via $(...) or backticks.
References
- github.com/zepspaiva/doc-recog/pull/2 (opens in a new tab)
- github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js (opens in a new tab)
- github.com/zepspaiva/doc-recog (opens in a new tab)
- vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-path (opens in a new tab)