CVE-2026-25244
WebdriverIO has Command Injection in the BrowserStack Service
Also known as GHSA-5c46-x3qw-q7j7
Mitigation
- Upgrade @wdio/browserstack-service to 9.24.0 or later.
Who should check
- Projects that depend on npm package @wdio/browserstack-service (< 9.24.0)
- Anyone running webdriverio < 9.24.0
Vulnerability facts
- Affected
- @wdio/browserstack-service < 9.24.0
- Fixed in
- 9.24.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 4.32% chance of exploitation in 30 days (percentile 92, 2026-11-26)
- CWE
- CWE-78
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @wdio/browserstack-service | < 9.24.0 | 9.24.0 | osv |
| webdriverio | < 9.24.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-25244. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-25244.md Affected: @wdio/browserstack-service < 9.24.0 Fixed in: 9.24.0 Steps: 1. Search this machine and project for @wdio/browserstack-service (npm), webdriverio: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://github.com/webdriverio/webdriverio/blob/ea0e3e00288abced4c739ff9e46c46977b7cdbd2/packages/wdio-browserstack-service/src/testorchestration/helpers.ts#L204
- https://github.com/webdriverio/webdriverio/releases/tag/v9.24.0
- https://access.redhat.com/security/cve/CVE-2026-25244
- https://bugzilla.redhat.com/show_bug.cgi?id=2479692
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25244.json
- https://github.com/webdriverio/webdriverio
FAQ
Is CVE-2026-25244 being exploited?
There is no confirmed exploitation: CVE-2026-25244 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-25244?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-25244?
@wdio/browserstack-service < 9.24.0.
Is there a fix for CVE-2026-25244?
Yes. Fixed in 9.24.0. Upgrade @wdio/browserstack-service to 9.24.0 or later.
How do I check if I'm affected by CVE-2026-25244?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.