Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @wdio/browserstack-service
  4. ›
  5. CVE-2026-25244

CVE-2026-25244: WebdriverIO BrowserStack Service has a Command Injection issue

May 11, 2026

A command injection vulnerability exists in @wdio/browserstack-service that allows remote code execution (RCE) when processing git branch names in test orchestration. An attacker can exploit this by providing a malicious git repository with a branch name containing shell command injection payloads.

References

  • github.com/advisories/GHSA-5c46-x3qw-q7j7
  • github.com/webdriverio/webdriverio
  • github.com/webdriverio/webdriverio/blob/ea0e3e00288abced4c739ff9e46c46977b7cdbd2/packages/wdio-browserstack-service/src/testorchestration/helpers.ts
  • github.com/webdriverio/webdriverio/releases/tag/v9.24.0
  • github.com/webdriverio/webdriverio/security/advisories/GHSA-5c46-x3qw-q7j7
  • nvd.nist.gov/vuln/detail/CVE-2026-25244

Code Behaviors & Features

Detect and mitigate CVE-2026-25244 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 9.24.0

Fixed versions

  • 9.24.0

Solution

Upgrade to version 9.24.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/@wdio/browserstack-service/CVE-2026-25244.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 12 May 2026 00:19:25 +0000.