---
title: "CVE-2026-25244: WebdriverIO BrowserStack Service has a Command Injection issue"
url: https://erroneo.us/security/cve/CVE-2026-25244/
description: "CVE-2026-25244 (@wdio/browserstack-service (npm)): WebdriverIO is a test automation framework for unit, e2e and component testing using WebDriver, WebDriver…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-05-18
date_modified: 2026-07-23
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-25244"
kev: false
cvss: 9.8
epss: 0.03308
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 3.3% , percentile 88: FIRST’s model estimates a 3.3% chance of exploitation activity in the next 30 days, higher than 88% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes @wdio/browserstack-service (npm) <= 9.23.2, fixed in 9.24.0 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- npm `@wdio/browserstack-service` <= 9.23.2 → fixed: 9.24.0

## Affected products (CVE record)

- webdriverio webdriverio: < 9.24.0

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP CVSS 3.1: 8 `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 3.31% probability of exploitation activity in the next 30 days; percentile 88.

## Sources

- [GitHub Advisory GHSA-5c46-x3qw-q7j7](https://github.com/advisories/GHSA-5c46-x3qw-q7j7)
- [CVE.org record CVE-2026-25244](https://www.cve.org/CVERecord?id=CVE-2026-25244)
- [NVD entry CVE-2026-25244](https://nvd.nist.gov/vuln/detail/CVE-2026-25244)
- [github.com](https://github.com/webdriverio/webdriverio/security/advisories/GHSA-5c46-x3qw-q7j7)
- [github.com](https://github.com/webdriverio/webdriverio/blob/ea0e3e00288abced4c739ff9e46c46977b7cdbd2/packages/wdio-browserstack-service/src/testorchestration/helpers.ts#L204)
- [github.com](https://github.com/webdriverio/webdriverio/releases/tag/v9.24.0)
- [access.redhat.com](https://access.redhat.com/security/cve/CVE-2026-25244)
- [RHBZ#2479692](https://bugzilla.redhat.com/show_bug.cgi?id=2479692)
- [security.access.redhat.com](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25244.json)

---
Source page: https://erroneo.us/security/cve/CVE-2026-25244/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
