Read the docs

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

Priority MEDIUM 53CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

doc-recog through 1.1.6 contains an OS command injection flaw (CWE-78) in DocData._readPDF. An unauthenticated remote attacker can run commands with Node.js process privileges by supplying a crafted document path to recog() or tag() that includes shell command substitution.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02727 86th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
zepspaivadoc-recogup to 1.1.6—No fix listedCNA
  • doc-recog Vendorzepspaiva Affected up to 1.1.6 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for doc-recog.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Timeline

  1. 2026-10-14 Threatist record created from CVE-2026-110638
  2. 2026-10-14 Alias added: GHSA-xjwr-pqr4-r7h8
  3. 2026-10-16 CISA SSVC decision points changed

References

Sources