p PatchFirst

CVE-2026-110638

CVE-2026-110638 · doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.3 · Critical · EPSS 2.7%

Published
Updated

Affected products and versions

  • doc-recog

    Versions
    • ≥ 0, ≤ 1.1.6: Affected (semver)

    No fix published

Original sources

Check your server →