# CVE-2026-110638: doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.73%, higher than 86% of CVEs (2026-12-01)
- Published: 2026-10-14T14:17:09.820Z
- Modified: 2026-10-16T19:03:18.127Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- zepspaiva doc-recog: up to 1.1.6

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/zepspaiva/doc-recog/pull/2> (issue-tracking, patch)
- <https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74> (technical-description)
- <https://github.com/zepspaiva/doc-recog> (product)
- <https://www.vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-path> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-110638](https://www.cve.org/CVERecord?id=CVE-2026-110638), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-110638](https://nvd.nist.gov/vuln/detail/CVE-2026-110638), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-110638 · Whole record: https://cve.day/CVE-2026-110638.json · Rebuilt by cve.day 2026-11-25T22:59:44.664Z
