CVE-2026-26830
Pdf-Image OS Command Injection Vulnerability
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()
INFO
Published Date :
March 25, 2026, 3:16 p.m.
Last Modified :
April 2, 2026, 8:13 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update the pdf-image package to the latest version.
- Review child_process.exec() usage for sanitization.
- Validate all user-supplied file paths.
Public PoC/Exploit Available at Github
CVE-2026-26830 has a 3 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-26830.
| URL | Resource |
|---|---|
| https://github.com/mooz/node-pdf-image | Product |
| https://github.com/zebbernCVE/CVE-2026-26830 | Exploit Third Party Advisory |
| https://www.npmjs.com/package/pdf-image | Product |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-26830 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-26830
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Advisory for CVE-2026-26830 in pdf-image
cwe-78 cve-2026-26830
Directory page for CVE-2026-26830 through CVE-2026-26833 advisories
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-26830 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-26830 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 02, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:pdf-image_project:pdf-image:*:*:*:*:*:node.js:*:* versions up to (including) 2.0.0 Added Reference Type MITRE: https://github.com/mooz/node-pdf-image Types: Product Added Reference Type MITRE: https://github.com/zebbernCVE/CVE-2026-26830 Types: Exploit, Third Party Advisory Added Reference Type MITRE: https://www.npmjs.com/package/pdf-image Types: Product -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Mar. 27, 2026
Action Type Old Value New Value Added CWE CWE-94 -
New CVE Received by [email protected]
Mar. 25, 2026
Action Type Old Value New Value Added 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() Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added Reference https://github.com/mooz/node-pdf-image Added Reference https://github.com/zebbernCVE/CVE-2026-26830 Added Reference https://www.npmjs.com/package/pdf-image