CVE-2026-26830
CRITICAL 9.8CVSS 3.1pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter
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()
- Published
- 25 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-78CWE-94
- Also known as
- GHSA-q5mh-72xg-628w
- Sources
- NVDJSONOSV GHSA-q5mh-72xg-628wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pdf-image_project | pdf-imagecpe:2.3:a:pdf-image_project:pdf-image:*:*:*:*:*:node.js:*:* |
<= 2.0.0 | |
| OSV | npm | pdf-image | <= 2.0.0 |
References
- https://github.com/mooz/node-pdf-image · Product, PACKAGE
- https://github.com/zebbernCVE/CVE-2026-26830 · Exploit, Third Party Advisory, WEB
- https://www.npmjs.com/package/pdf-image · Product
- https://nvd.nist.gov/vuln/detail/CVE-2026-26830 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 25 Mar 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Mar 2026)