CVE-2026-110638: Vulnerability in Doc-recog
Critical. 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-78
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-78
- Published
- 14 Oct 2026
- Last change
- 16 Oct 2026
Affected products
Affected versions and the first fixed release
- Doc-recog Through 1.1.6. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/zepspaiva/doc-recog
- github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js
- vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readp...
Patches and fixes
Updates, commits and release notes
Related
- Doc-recog vulnerabilities Recent advisories, watch this product