Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
3Blast Radius
ecosystem impact- 10 npm packages depend on pdf-image (10 direct, 0 indirect)
Ecosystem-wide dependent count for version 2.0.0.
DescriptionCVE.org
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()
AnalysisAI
The pdf-image npm package through version 2.0.0 contains an OS command injection vulnerability in the pdfFilePath parameter. Attackers can exploit this remotely without authentication by injecting malicious commands through file path inputs that are passed unsafely to shell commands via child_process.exec(). A proof-of-concept exploit is publicly available on GitHub (zebbernCVE/CVE-2026-26830), significantly increasing exploitation risk.
Technical ContextAI
The pdf-image npm package is a Node.js library that converts PDF files to images by wrapping ImageMagick/GraphicsMagick command-line tools. The vulnerability stems from improper input sanitization in the constructGetInfoCommand and constructConvertCommandForPage functions, which use util.format() to construct shell commands with user-supplied file paths. These unsanitized strings are then passed to child_process.exec(), enabling classic OS command injection attacks. This represents a CWE-78 class vulnerability (OS Command Injection) where user input is incorporated into system commands without proper validation or escaping. The CPE data indicates the affected product is the pdf-image npm package, though specific version details are limited in the CPE string.
RemediationAI
Immediately upgrade the pdf-image npm package to a version newer than 2.0.0 if a patched version becomes available. Monitor the GitHub repository at https://github.com/mooz/node-pdf-image and npm package page at https://www.npmjs.com/package/pdf-image for security updates. As an interim mitigation, implement strict input validation and sanitization on all file path parameters before passing them to pdf-image functions, specifically whitelisting allowed characters and rejecting any input containing shell metacharacters such as semicolons, pipes, backticks, or command substitution syntax. Consider replacing this package with alternative PDF processing libraries that use safer command execution methods or sandboxed execution environments. Restrict the application's filesystem access permissions and run the Node.js process with minimal privileges to limit the impact of successful exploitation.
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic
Directory traversal vulnerability in lib/app/index.js in Geddy before 13.0.8 for Node.js allows remote attackers to read
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Eval injection vulnerability in index.js in the syntax-error package before 1.1.1 for Node.js 0.10.x, as used in IBM Rat
The HTTP server in Node.js 0.10.x before 0.10.21 and 0.8.x before 0.8.26 allows remote attackers to cause a denial of se
Same weakness CWE-94 – Code Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-15457