{"id":"CVE-2026-110638","aliases":["CVE-2026-110638"],"related":[],"kind":"vulnerability","state":"published","title":"doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path","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 file path, which DocData._readPDF passes to a shell-based pdftotext exec call, running commands with Node.js process privileges.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-14T14:17:09.820Z","modified":"2026-10-16T19:03:18.127Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.1.6","status":"affected"}],"vendor":"zepspaiva","product":"doc-recog","repo":"https://github.com/zepspaiva/doc-recog","source":"cvelist"}],"references":[{"url":"https://github.com/zepspaiva/doc-recog/pull/2","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zepspaiva/doc-recog","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-path","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Zachariah Mithani"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T16:48:49.883Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-110638","url":"https://www.cve.org/CVERecord?id=CVE-2026-110638","licence":"CVE Terms of Use","modified":"2026-10-16T17:15:54.950Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-110638","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110638","licence":"Public domain","modified":"2026-10-16T19:03:18.127Z"}],"updatedAt":"2026-11-25T22:59:44.664Z","epss":{"score":0.02727,"percentile":0.86472,"date":"2026-12-01T12:00:22.000Z"}}