CVE-2026-26830

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

Critical · published March 25, 2026

CVSS v3.1
9.8
EPSS
3%
Percentile
88.7
In the wild
Unconfirmed
What it is

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()

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N
CVSS v4.0
Not supplied
EPSS
0.03359 · 88.7th percentile
Published
2026-03-25T00:00Z
EPSS history
Timeline
  • 25 MAR 00:00Z
    pdf-image (npm package) through version 2.0.0 allows OS command injection via the pdfFilePath parameter
    cvelistv5