CVE-2026-26830Pdf-image Project Pdf-image
Critical 9.8 No auth needed
Follow: this CVE · Pdf-image Project · Pdf-image Project Pdf-image We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Mar 25, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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()
What to do
- Apply the vendor's security update for Pdf-image.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | pdf-image |
≤ 2.0.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-q5mh-72xg-628w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pdf-image_project | pdf-image | ≤ 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Exploit Third Party Advisory
- www.npmjs.com Product