CVE-2026-110638 zepspaiva · doc-recog
9.8 Critical
AI summary
In doc-recog through 1.1.6, a crafted document path passed to recog() or tag() reaches a shell-based pdftotext call. This lets commands run with Node.js process privileges, remotely and without authentication. Critical (CVSS 9.8), no known active exploitation; no fixed version is named.
Official 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.
- Published
- 2026-10-14 15:17 UTC
- Modified
- 2026-10-16 19:03 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 3.04% (percentile 88)
- ENISA EUVD
- EUVD-2026-101266
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-78
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/zepspaiva/doc-recog - github.com
https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74 - github.com
https://github.com/zepspaiva/doc-recog/pull/2 - www.vulncheck.com
https://www.vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-path