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

Published Oct 14, 2026
·
Updated

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 Software

1 affected component
npm/doc-recog<=1.1.6

Event History

Oct 14, 2026
CVE Published
via MITRE·02:17 PM
Data Sourced
via MITRE·02:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What input must an attacker control to exploit this issue?

An attacker must be able to supply a crafted document file path to the recog() or tag() function. Paths containing $(...) or backtick command substitution can cause commands to run.

2

What privileges do injected commands receive?

Injected commands run with the privileges of the Node.js process executing doc-recog. The vulnerability can therefore affect the confidentiality, integrity, and availability of resources accessible to that process.

3

Which versions are known to be affected?

doc-recog through version 1.1.6 is affected. No fixed version is identified in the provided information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203