CVE-2026-26830: pdf-image (npm package) through version 2.0.0 allows OS command injection via the pdfFilePath parameter
CVE-2026-26830 is a critical-severity flaw (CVSS 9.8) affecting pdf-image. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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()
Why this priority
- Critical severity
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.5% (top 15%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-03-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: zebbernCVE/npm-cve-2026-26830-26833 (1 stars)
- GitHub PoC: zebbernCVE/CVE-2026-26830 (0 stars)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-26830?
pdf-image: upgrade to newer than 2.0.0. Exact commands for each OS are on this page.
Is CVE-2026-26830 being exploited?
CVE-2026-26830 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-26830 affect?
CVE-2026-26830 affects pdf-image. Severity is critical (CVSS 9.8). 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 in
How urgent is CVE-2026-26830?
Priority 68/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action