doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path
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.
CVE-2026-110638
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-110638
doc-recog
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/zepspaiva/doc-recog",
"vendor": "zepspaiva",
"product": "doc-recog",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "1.1.6"
}
],
"packageURL": "pkg:npm/doc-recog",
"collectionURL": "https://www.npmjs.com/package/doc-recog",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-110638
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #32775 · Revision 1
- Added to Heist Feed
- Publisher date