Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted filename or option to app
-
DeliveryApp forwards input to webp-converter function
-
ExploitShell metacharacters injected into sh -c command
-
ExecutionOS commands execute as Node.js process
-
ImpactRemote code execution in app context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a host application to pass attacker-influenced data - specifically file name arguments or the free-form |
| Impact | This is a genuine high-severity flaw backed by strong technical evidence, but its headline CVSS 4.0 score of 9.3 (AV:N/AC:L/AT:N/PR:N/UI:N) overstates universal real-world risk because webp-converter is a LIBRARY, not a network-facing service. The command injection is confirmed by the source diff: the pre-3.0.0 code built a shell command string and called exec/execFile with |
| Exploit ScenarioDerived | An application uses webp-converter to process user-uploaded images and passes the original upload filename (or a user-chosen option string) directly to cwebp or webpmux. An attacker uploads a file named something like |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
OS command injection in webp-converter before 3.0.0 lets unauthenticated remote attackers execute arbitrary operating system commands as the Node.js process when a host application routes attacker-controlled file names or option strings into the library’s cwebp, dwebp, gwebp, or webpmux helper functions. The flaw carries a CVSS 4.0 score of 9.3 (with an independent CVSS 3.1 assessment of 9.8), but because webp-converter is a library rather than a listening service, real-world risk depends on whether the integrating application actually passes untrusted input into the vulnerable code path; applications that use only server-controlled, fixed paths and options are not exposed. No public exploit code has been identified at the time of analysis, and the vendor has released version 3.0.0 to fix the issue.
RemediationAI
Upgrade webp-converter to version 3.0.0 or later; the vendor-released patch is available via pull request 53 and commit f1b6724bc2e89f67ab05d51a854b4b1c5a99928a, which removes shell execution in favor of argv-array invocation. If immediate upgrade is not possible, compensate by ensuring the host application never passes attacker-controlled file names or option strings into the library’s helper functions-for example, sanitize file names to reject or escape shell metacharacters (;, |, `, $()), restrict the option string to a fixed allow-list, and run the Node.js process under a least-privileged account. Note that these workarounds require code changes in the integrating application and may break functionality if legitimate inputs contain such characters; the definitive fix is the 3.0.0 upgrade. Refer to the VulnCheck advisory (https://www.vulncheck.com/advisories/webp-converter-before-3.0.0-os-command-injection-via-file-names-and-options) and the GitHub PR for details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The webp-converter Node.js library provides helper functions that shell out to libwebp binaries-cwebp, dwebp, gwebp, and webpmux-to convert images. In versions before 3.0.0, src/webpconverter.js built command strings from unsanitized inputs and executed them with exec(..., { shell: true }), causing the arguments to be interpreted by a shell. This is a classic OS command injection (CWE-78): any shell metacharacter (;, |, `, $()) in a file name or in the free-form option string was passed to the shell, allowing arbitrary command execution with the privileges of the Node.js process. The affected CPE is cpe:2.3:a:scionoftech:webp-converter:*:*:*:*:*:*:*:* (all versions prior to 3.0.0). The fix in pull request 53 (commit f1b6724bc2e89f67ab05d51a854b4b1c5a99928a) replaces the shell-based exec calls with an argv-array runner (runWebp) that invokes the binaries without a shell, so metacharacters are treated literally. The independent assessment confirms the assessed vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H but notes that exploitation is conditional on the host application passing attacker-influenced data into these functions.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Library-level injection is unauthenticated and shell metacharacters trigger reliably (AC:L, PR:N), yielding full RCE as the Node process; scope unchanged as code runs within the same process authority.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
webp-converter before 3.0.0 contains an OS command injection vulnerability in src/webpconverter.js helpers that run libwebp binaries via execFile with shell enabled. Attackers controlling file names or option strings passed to cwebp, dwebp, gwebp, or webpmux functions can inject shell metacharacters to execute OS commands as the Node.js process.
Articles & Coverage 1
Executive ViewAI
A critical flaw in the webp-converter Node.js library (versions prior to 3.0.0) could let an attacker run system commands on any server where an application forwards untrusted file names or options into this component. The business exposure depends on how the library is integrated: services that accept user-controlled inputs and pass them to webp-converter are at risk, while those using fixed, server-side values are not affected. Leadership should ensure affected engineering teams identify such integrations and upgrade to the vendor’s fixed version, because successful exploitation could allow unauthorized operating system command execution and compromise the affected server.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
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
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
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
EUVD-2026-101263
GHSA-mpvc-jhp3-x7r5
NVD
CVE.org
EPSS
Exploit-DB