SCA: security update for @wdio/browserstack-service (GHSA-5c46-x3qw-q7j7)

high Tenable Cloud Security Plugin ID 442183

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-25244)

Solution

Update the @wdio/browserstack-service library and its related packages to version 9.24.0 or later.

See Also

https://github.com/advisories/GHSA-5c46-x3qw-q7j7

Plugin Details

Severity: High

ID: 442183

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 5/19/2026

Updated: 6/30/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.96

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-25244

CVSS v3

Risk Factor: High

Base Score: 8

Temporal Score: 7.2

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/11/2026

Vulnerability Publication Date: 5/11/2026

Reference Information

CVE: CVE-2026-25244

cwe: CWE-78