CVE-2026-26830: Vulnerability in Pdf-image Project Pdf-image
Critical. 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()
npm, CWE-78, CWE-94
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-q5mh-72xg-628w
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-78, CWE-94
- Published
- 25 Mar 2026
- Last change
- 17 Jun 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Pdf-image Project Pdf-image Through 2.0.0. No fixed version recorded
Affected packages
Vulnerable version ranges and fixed releases
- pdf-image npm, Affected through 2.0.0. No fixed version recorded
Advisories
Vendor and security advisories
Related
- Pdf-image vulnerabilities Recent advisories, watch this product