Read the docs
TI-2026-20392 Aliases CVE-2026-25244GHSA-5c46-x3qw-q7j7

WebdriverIO has Command Injection in the BrowserStack Service

Priority HIGH 82CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.03308 88th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed webdriverio (webdriverio): 9.24.0@wdio/browserstack-service (npm): 9.24.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
webdriveriowebdriveriobefore 9.24.09.24.0Patch availableCNA
—@wdio/browserstack-service (npm)before 9.24.09.24.0Patch availableGHSA-5c46-x3qw-q7j7
  • webdriverio Vendorwebdriverio Affected before 9.24.0 Fixed in 9.24.0 Patch available CNA
  • @wdio/browserstack-service (npm) Vendor— Affected before 9.24.0 Fixed in 9.24.0 Patch available GHSA-5c46-x3qw-q7j7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:openjsf:webdriverio:*:*:*:*:*:node.js:*:*before 9.24.0Vulnerablefast-uri
  • cpe:2.3:a:openjsf:webdriverio:*:*:*:*:*:node.js:*:* Versions before 9.24.0 Vulnerable ·fast-uri

Remediation

  • Fix · CNA webdriverio (webdriverio) Fixed in 9.24.0
  • Fix · GHSA-5c46-x3qw-q7j7 @wdio/browserstack-service (npm) Fixed in 9.24.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-25244
  2. 2026-10-03 Alias added: GHSA-5c46-x3qw-q7j7

References

Sources