CVE-2026-26830 pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter
CriticalCVSS 9.8
EPSS 2.7%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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()
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm pdf-image(npm) | <= 2.0.0 | after 2.0.0 | Fixed |
| pdf-image project pdf-image | <= 2.0.0 | after 2.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm pdf-image(npm) | <= 2.0.0 | No fix listed |
| pdf-image project pdf-image | <= 2.0.0 | No fix listed |
References
- www.npmjs.com product
- github.com product
- github.com exploit third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com