Critical severity9.8NVD Advisory· Published Mar 25, 2026· Updated Apr 2, 2026
CVE-2026-26830
CVE-2026-26830
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()
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pdf-imagenpm | <= 2.0.0 | — |
Affected products
1- cpe:2.3:a:pdf-image_project:pdf-image:*:*:*:*:*:node.js:*:*Range: <=2.0.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-q5mh-72xg-628wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-26830ghsaADVISORY
- www.npmjs.com/package/pdf-imagenvdProduct
News mentions
0No linked articles in our index yet.