# CVE-2026-26830: pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter

- Severity: Critical 9.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.74%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-25T00:00:00.000Z
- Modified: 2026-06-17T10:26:21.390Z
- Also known as: GHSA-q5mh-72xg-628w
- Weaknesses: CWE-78, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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()

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pdf-image (npm): up to 2.0.0
- pdf-image_project pdf-image: up to 2.0.0

## Every score

- mitre: CVSS:3.1 9.8 Critical `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/zebbernCVE/CVE-2026-26830> (exploit, third-party-advisory, web)
- <https://www.npmjs.com/package/pdf-image> (product)
- <https://github.com/mooz/node-pdf-image> (package, product)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26830> (advisory)

## Sources

- CVE List: [CVE-2026-26830](https://www.cve.org/CVERecord?id=CVE-2026-26830), CVE Terms of Use, modified 2026-03-27
- GitHub Advisory Database: [GHSA-q5mh-72xg-628w](https://github.com/advisories/GHSA-q5mh-72xg-628w), CC-BY-4.0, modified 2026-03-27
- NVD: [CVE-2026-26830](https://nvd.nist.gov/vuln/detail/CVE-2026-26830), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26830 · Whole record: https://cve.day/CVE-2026-26830.json · Rebuilt by cve.day 2026-11-25T22:59:16.716Z
