CVE-2026-26830Published Mar 25, 2026 · Mar 25Updated Jun 17
pdf-image (npm package) through version 2.0.0 allows OS command injection via the pdfFilePath parameter
Critical9.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unspecified product |
| No fix yet |
Original description
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()
From the CVE record · mitre