{"id":"CVE-2026-110638","title":"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()","summary":"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 …","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-78"],"published":"2026-10-14","updated":"2026-10-14","sourceUpdated":"2026-10-14T15:17:16.997","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-110638","references":[{"url":"https://github.com/zepspaiva/doc-recog","label":"disclosure@vulncheck.com"},{"url":"https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74","label":"disclosure@vulncheck.com"},{"url":"https://github.com/zepspaiva/doc-recog/pull/2","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-path","label":"disclosure@vulncheck.com"}],"tags":["nvd"],"ingestedAt":"2026-10-14T15:36:14.014Z","slug":"CVE-2026-110638","body":"## Overview\n\ndoc-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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":53.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}