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

Critical 9.3 Published Updated

Attackers can execute arbitrary OS commands by providing crafted file paths to the doc-recog library, leading to code execution with Node.js privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-110638?

CVE-2026-110638 is a critical command injection vulnerability in zepspaiva doc-recog, published on 14 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2026-110638?

How do I fix CVE-2026-110638?

No fix has been published for CVE-2026-110638 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-110638 being exploited?

There is no known exploitation of CVE-2026-110638 in the wild and no public exploit code.

Sources

Also known as GHSA-xjwr-pqr4-r7h8.

Is CVE-2026-110638 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free