pdf-image (npm package) through version 2.0.0 allows OS command injection via the…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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 it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | pdf-image (npm) | up to 2.0.0 | — | No fix listed | GHSA-q5mh-72xg-628w |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- pdf-image (npm) Vendor— Affected up to 2.0.0 Fixed in — No fix listed GHSA-q5mh-72xg-628w
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:pdf-image_project:pdf-image:*:*:*:*:*:node.js:*:* | up to 2.0.0 | Vulnerable | Pdf-image Project |
- cpe:2.3:a:pdf-image_project:pdf-image:*:*:*:*:*:node.js:*:* Versions up to 2.0.0 Vulnerable ·Pdf-image Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-26830
- 2026-10-03 Alias added: GHSA-q5mh-72xg-628w
References
More Pdf-image Project Pdf-image vulnerabilities
- TI-2018-02753 Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter. CVSS 3.1CRITICAL 9.8
- TI-2020-06550 Code injection in pdf-image CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-26830 · CVE Program
- CVE-2026-26830 · NVD
- FIRST EPSS
- GHSA-q5mh-72xg-628w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences