{"id":"CVE-2026-110638","revision":"8e59c3d6ae444ce084451aa2b46d9b71","records":[{"revision":"8e59c3d6ae444ce084451aa2b46d9b71","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-110638","aliases":[],"title":"doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path","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.","state":0,"publishedAt":"2026-10-14T14:17:09.82+00:00","modifiedAt":"2026-10-16T17:15:54.95+00:00","affected":[{"ecosystem":"https://www.npmjs.com/package/doc-recog","name":"doc-recog","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"zepspaiva\",\n                    \"product\": \"doc-recog\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"1.1.6\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:npm/doc-recog\",\n                    \"collectionURL\": \"https://www.npmjs.com/package/doc-recog\",\n                    \"repo\": \"https://github.com/zepspaiva/doc-recog\"\n                }"}],"metrics":[{"system":"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,"severity":"CRITICAL"},{"system":"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,"severity":"CRITICAL"}],"references":["https://github.com/zepspaiva/doc-recog/pull/2","https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74","https://github.com/zepspaiva/doc-recog","https://www.vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-path"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-110638","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-110638","identifiers":["CVE-2026-110638"]},"retained":false,"historicalAffected":[]}],"coverage":[]}