CVE-2026-25244CRITICAL 9.8EPSS p88.7%

CVE-2026-25244CVE-2026-25244

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.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS3.82% probability of exploitation · percentile 88.7% · 2026-06-18T12:00:27Z
Published2026-05-18
Last modified2026-05-19

Underlying weaknesses· 1

CWE-78

References

  1. https://github.com/webdriverio/webdriverio/blob/ea0e3e00288abced4c739ff9e46c46977b7cdbd2/packages/wdio-browserstack-service/src/testorchestration/helpers.ts#L204
  2. https://github.com/webdriverio/webdriverio/releases/tag/v9.24.0
  3. https://github.com/webdriverio/webdriverio/security/advisories/GHSA-5c46-x3qw-q7j7
  4. https://github.com/webdriverio/webdriverio/security/advisories/GHSA-5c46-x3qw-q7j7

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements used in an OS Command ('OS Command Injection')cwe-780%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-32573
CVE
CVE-2026-49373
CVE
CVE-2026-0933
CVE
CVE-2026-24689
CVE
CVE-2026-24452
CVE
CVE-2026-49366
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.