Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-26830: n/a

0
Critical
VulnerabilityCVE-2026-26830cvecve-2026-26830
Published: Wed Mar 25 2026 (03/25/2026, 00:00:00 UTC)
Source: CVE Database V5

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/25/2026, 15:30:57 UTC

Technical Analysis

The vulnerability identified as CVE-2026-26830 affects the pdf-image npm package, a tool used to convert PDF files into images within Node.js applications. Versions up to 2.0.0 are vulnerable due to improper handling of the pdfFilePath parameter. The functions constructGetInfoCommand and constructConvertCommandForPage use util.format() to embed user-supplied file paths directly into shell command strings. These commands are then executed using child_process.exec(), which runs the commands in a shell environment. Because the file path input is not sanitized or escaped, an attacker can inject arbitrary shell commands, leading to OS command injection. This allows execution of any commands with the privileges of the Node.js process, potentially compromising the host system. The vulnerability requires no authentication or user interaction, making it highly exploitable remotely if the package is used in exposed services. The CVSS v3.1 score of 9.8 indicates critical severity, with network attack vector, low attack complexity, no privileges required, and no user interaction needed. The vulnerability impacts confidentiality, integrity, and availability of affected systems. No patches or fixes are currently linked, and no public exploits are known, but the high severity demands urgent attention. This vulnerability highlights the risks of unsafe command construction in software dependencies and the importance of secure coding practices in open-source packages.

Potential Impact

The impact of CVE-2026-26830 is severe for organizations using the pdf-image npm package in their Node.js applications, especially those processing untrusted PDF files or exposing PDF conversion services over the network. Successful exploitation can lead to full system compromise, including data theft, destruction, or ransomware deployment. Confidentiality is at risk because attackers can access sensitive files or data. Integrity can be compromised by altering files or injecting malicious code. Availability may be disrupted by executing destructive commands or causing denial of service. The vulnerability's ease of exploitation without authentication or user interaction increases the risk of automated attacks and wormable propagation within vulnerable environments. Organizations relying on pdf-image in CI/CD pipelines, web applications, or microservices face supply chain risks and potential lateral movement within networks. The lack of known exploits currently provides a window for proactive mitigation before widespread attacks emerge.

Mitigation Recommendations

To mitigate CVE-2026-26830, organizations should immediately audit their software dependencies to identify usage of the pdf-image npm package up to version 2.0.0. If found, upgrade to a patched version once available or replace the package with alternative PDF processing libraries that do not use unsafe shell command execution. Until patches are released, avoid processing untrusted PDF inputs or isolate the processing environment using containerization or sandboxing to limit potential damage. Implement strict input validation and sanitization for any file path parameters to prevent injection. Employ runtime application self-protection (RASP) or host-based intrusion detection systems (HIDS) to monitor for suspicious child_process.exec() calls. Review and restrict Node.js process permissions to minimize impact if exploited. Additionally, monitor security advisories and subscribe to vulnerability feeds for updates on patches or exploit developments. Incorporate secure coding training for developers to avoid unsafe command execution patterns in future projects.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-02-16T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69c3fc2ef4197a8e3b6310ac

Added to database: 3/25/2026, 3:15:58 PM

Last enriched: 3/25/2026, 3:30:57 PM

Last updated: 3/26/2026, 5:33:03 AM

Views: 23

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses