Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-110638 EUVD-2026-101266GHSA-xjwr-pqr4-r7h8

doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path

Published Oct 14, 2026 · Updated Oct 16, 2026 · 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.

Affected products

VendorProductAffectedFixed
zepspaiva doc-recog ≤ 1.1.6 —

References