Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/zepspaiva/doc-recog
- https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f6
- https://github.com/zepspaiva/doc-recog/pull/2
- https://www.vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injectio
FAQ
What is CVE-2026-110638?
CVE-2026-110638 is a vulnerability with a CVSS score of 9.8 (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 ...
How severe is CVE-2026-110638?
CVE-2026-110638 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-110638?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.