CVE-2026-110638 PUBLISHED

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

Assigner: VulnCheck
Reserved: 14.10.2026 Published: 14.10.2026 Updated: 14.10.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.3

Product Status

Vendor zepspaiva
Product doc-recog
Versions Default: unaffected
  • affected from 0 to 1.1.6 (incl.)

Credits

  • Zachariah Mithani finder

References

Problem Types

  • Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE