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()
References
| Link | Resource |
|---|---|
| https://github.com/mooz/node-pdf-image | Product |
| https://github.com/zebbernCVE/CVE-2026-26830 | Exploit Third Party Advisory |
| https://www.npmjs.com/package/pdf-image | Product |
Configurations
History
No history.
Information
Published : 2026-03-25 15:16
Updated : 2026-06-17 10:26
NVD link : CVE-2026-26830
Mitre link : CVE-2026-26830
CVE.ORG link : CVE-2026-26830
JSON object : View
Products Affected
pdf-image_project
- pdf-image
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
