CVE-2026-25244
CWE-78Published: May 18, 2026· Updated: May 19, 2026
Official Description
WebdriverIO is a test automation framework for unit, e2e and component testing using WebDriver, WebDriver BiDi and Appium. Versions below 9.24.0 contain a command injection vulnerability leading to remote code execution (RCE) in test orchestration. Git permits branch names containing shell metacharacters, and getGitMetadataForAISelection() interpolates these names directly into execSync() calls without sanitization. An attacker can exploit this by supplying a malicious repository (via testOrchestrationOptions.runSmartSelection.source, or the current directory if unset) whose branch name carries a payload, causing the shell to execute arbitrary code. This enables remote code execution on CI/CD servers and developer machines, leading to credential and secret disclosure, source code and SSH key exfiltration, system compromise, and supply chain attacks via tampered build artifacts. The issue has been fixed in version 9.24.0.
Risk Analysis
This critical vulnerability in WebdriverIO allows for remote code execution (RCE) due to a command injection flaw in test orchestration. With a CVSS score of 9.8, an attacker can exploit malicious Git branch names to execute arbitrary code on CI/CD servers and developer machines, leading to severe compromise. The lack of an EPSS score means the exploitation likelihood is not yet quantified, but the high CVSS score indicates extreme urgency.
No public exploit is currently known for this vulnerability. This flaw is remotely exploitable without user interaction, by supplying a malicious repository with a crafted branch name.
Users should upgrade WebdriverIO to version 9.24.0 or later to address this command injection vulnerability. Ensure that all external inputs, especially those from Git metadata, are properly sanitized before being used in shell commands.
Technical Analysis
CVE-2026-25244 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-78)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-25244 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts