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
Configurations
No configuration.
History
No history.
Information
Published : 2026-03-25 15:16
Updated : 2026-03-27 05:16
NVD link : CVE-2026-26830
Mitre link : CVE-2026-26830
CVE.ORG link : CVE-2026-26830
JSON object : View
Products Affected
No product.
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
