CVE-2026-26830: pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter
(updated )
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
Code Behaviors & Features
Detect and mitigate CVE-2026-26830 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →