doc-recog OS Command Injection via DocData._readPDF File Path
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
doc-recog through 1.1.6 contains an OS command injection flaw (CWE-78) in DocData._readPDF. An unauthenticated remote attacker can run commands with Node.js process privileges by supplying a crafted document path to recog() or tag() that includes shell command substitution.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for doc-recog.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-14 Threatist record created from CVE-2026-110638
- 2026-10-14 Alias added: GHSA-xjwr-pqr4-r7h8
- 2026-10-16 CISA SSVC decision points changed
References
Sources
- CVE-2026-110638 · CVE Program
- CVE-2026-110638 · NVD
- FIRST EPSS
- GHSA-xjwr-pqr4-r7h8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences