Vulnerabilities/

WebdriverIO BrowserStack Service has a Command Injection issue

Severity:
High

Description

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.

Recommendation

Update the @wdio/browserstack-service package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@wdio/browserstack-service
Anything's wrong? Let us know Last updated on May 19, 2026