CVE-2026-110638
published critical CVSS 4.0 · 9.3doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zepspaiva | — | doc-recog0 through 1.1.6 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zepspaiva | doc-recog | 0 through 1.1.6 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4- https://github.com/zepspaiva/doc-recog
- https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74
- https://github.com/zepspaiva/doc-recog/pull/2
- VulnCheck Advisory: doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path https://www.vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-path
Provider assertions
2VulnCheck · cna
doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0db2abdc6e91e787f6940b17c666c07f7882dd3c0b7407f92ec0c047e9e8e77c
- Ingested
- 16 Oct 2026, 17:19:20 UTC
- Source record
- Official CVE record