Read the docs
TI-2026-21395 Aliases CVE-2026-26830GHSA-q5mh-72xg-628w

pdf-image (npm package) through version 2.0.0 allows OS command injection via the…

Priority HIGH 82CWE-94Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

pdf-image (npm package) through version 2.0.0 allows OS command injection via the pdfFilePath parameter. The constructGetInfoCommand and constructConvertCommandForPage functions use util.format() to interpolate user-controlled file paths into shell command strings that are executed via child_process.exec()

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.02505 84th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
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
——all versions—No fix listedCNA
—pdf-image (npm)up to 2.0.0—No fix listedGHSA-q5mh-72xg-628w
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • pdf-image (npm) Vendor— Affected up to 2.0.0 Fixed in — No fix listed GHSA-q5mh-72xg-628w

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pdf-image_project:pdf-image:*:*:*:*:*:node.js:*:*up to 2.0.0VulnerablePdf-image Project
  • cpe:2.3:a:pdf-image_project:pdf-image:*:*:*:*:*:node.js:*:* Versions up to 2.0.0 Vulnerable ·Pdf-image Project

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-26830
  2. 2026-10-03 Alias added: GHSA-q5mh-72xg-628w

References

  • TI-2018-02753 Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter. CVSS 3.1CRITICAL 9.8
  • TI-2020-06550 Code injection in pdf-image CVSS 3.1CRITICAL 9.8

Sources