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()
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
zebbernCVE/npm-cve-2026-26830-26833 ★ 1 · Mar 24, 2026
Directory page for CVE-2026-26830 through CVE-2026-26833 advisories
-
zebbernCVE/CVE-2026-26830 ★ 0 · Mar 24, 2026
Advisory for pdf-image ⌯⌲ 10 000 weekly downloads
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | pdf-image | <= 2.0.0 | — | GHSA-q5mh-72xg-628w |