chore(deps): update dependency @wdio/browserstack-service to v9 [security] - #1001
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency @wdio/browserstack-service to v9 [security]#1001renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
renovate
Bot
deleted the
renovate/npm-wdio-browserstack-service-vulnerability
branch
August 12, 2026 21:56
renovate
Bot
force-pushed
the
renovate/npm-wdio-browserstack-service-vulnerability
branch
from
August 13, 2026 17:14
08f9041 to
eaa236a
Compare
renovate
Bot
force-pushed
the
renovate/npm-wdio-browserstack-service-vulnerability
branch
from
August 14, 2026 20:43
eaa236a to
268d20b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.40.6→9.24.0WebdriverIO BrowserStack Service has a Command Injection issue
CVE-2026-25244 / GHSA-5c46-x3qw-q7j7
More information
Details
Summary
A command injection vulnerability exists in
@wdio/browserstack-servicethat 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.Details
Give all details on the vulnerability. Pointing to the incriminated source code is very helpful for the maintainer.
Vulnerable Code
File: https://github.com/webdriverio/webdriverio/blob/ea0e3e00288abced4c739ff9e46c46977b7cdbd2/packages/wdio-browserstack-service/src/testorchestration/helpers.ts#L204
Root Cause
User-controlled git branch names are directly interpolated into
execSync()calls without sanitization. Git allows branch names to contain special characters ,that can be used for command injection.Git allows to create these branches.
Attack Vector
testOrchestrationOptions.runSmartSelection.source. ifsourceis not provided it takes current directory assource.getGitMetadataForAISelection()executes, it extracts the malicious branch namePoC
Step 1: Create Malicious Repository Branch
Step 2: Configure WebdriverIO
Step 3: Run Tests
Step 4: Verify RCE
##### Check if file was created (proof of RCE) ls -la /tmp/pwned.txtImpact
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
browserstack/wdio-browserstack-service (@wdio/browserstack-service)
v9.24.0Compare Source
v9.23.3Compare Source
v9.23.2Compare Source
v9.23.1Compare Source
v9.23.0Compare Source
v9.22.0Compare Source
v9.21.0Compare Source
v9.20.1Compare Source
v9.20.0Compare Source
v9.19.2Compare Source
v9.19.1Compare Source
v9.19.0Compare Source
v9.18.4Compare Source
v9.18.3Compare Source
v9.18.1Compare Source
v9.18.0Compare Source
v9.17.0Compare Source
v9.16.2Compare Source
v9.16.1Compare Source
v9.16.0Compare Source
v9.15.0Compare Source
v9.14.0Compare Source
v9.13.0Compare Source
v9.12.7Compare Source
v9.12.6Compare Source
v9.12.5Compare Source
v9.12.4Compare Source
v9.12.3Compare Source
v9.12.2Compare Source
v9.12.1Compare Source
v9.12.0Compare Source
v9.11.0Compare Source
v9.10.1Compare Source
v9.10.0Compare Source
v9.9.3Compare Source
v9.9.2Compare Source
v9.9.1Compare Source
v9.9.0Compare Source
v9.8.0Compare Source
v9.7.3Compare Source
v9.7.2Compare Source
v9.7.1Compare Source
v9.7.0Compare Source
v9.6.4Compare Source
v9.6.3Compare Source
v9.6.2Compare Source
v9.6.1Compare Source
v9.6.0Compare Source
v9.5.7Compare Source
v9.5.6Compare Source
v9.5.4Compare Source
v9.5.3Compare Source
v9.5.2Compare Source
v9.5.1Compare Source
v9.5.0Compare Source
v9.4.5Compare Source
v9.4.4Compare Source
v9.4.3Compare Source
v9.4.2Compare Source
v9.4.1Compare Source
v9.4.0Compare Source
v9.3.1Compare Source
v9.3.0Compare Source
v9.2.14Compare Source
v9.2.12Compare Source
v9.2.11Compare Source
v9.2.8Compare Source
v9.2.6Compare Source
v9.2.5Compare Source
v9.2.4Compare Source
v9.2.2Compare Source
v9.2.1Compare Source
v9.2.0Compare Source
v9.1.5Compare Source
v9.1.4Compare Source
v9.1.3Compare Source
v9.1.2Compare Source
v9.1.1Compare Source
v9.1.0Compare Source
v9.0.9Compare Source
v9.0.8Compare Source
v9.0.7Compare Source
v9.0.6Compare Source
v9.0.5Compare Source
v9.0.4Compare Source
v9.0.2Compare Source
v9.0.1Compare Source
v9.0.0Compare Source
v8.50.0Compare Source
Minor Changes
635fc26: Added support for the skipAppOverride flag.v8.49.2Compare Source
Patch Changes
effdc1e: - Fixed SDK logs not being uploaded when a test run is interrupted (Ctrl-C or CI job cancellation); interrupted runs are now reported with their termination reason on the build record.v8.49.1Compare Source
Patch Changes
6073bcc: Fixed skipped tests (it.skip, this.skip() in before/beforeEach hooks) and suites aborted by a failed before hook not being reported to Test Observability when using the CLI. Fixed Automate sessions from skipped/aborted spec files not being linked to the Test Observability build. Fixed hook results not appearing on the dashboard and a failed before hook not failing the build.v8.49.0Compare Source
Minor Changes
46ee119: BrowserStack now publishes@wdio/browserstack-servicefrom its own repository(
browserstack/wdio-browserstack-service) on an independent release cadence, using npm OIDCtrusted publishing. No change for end users — same package name and the same
services: ['browserstack']configuration continue to work unchanged.Patch Changes
f78d091: Declarewebdriverioas a dependency instead of a peerDependency, matching the v8 package published from the WebdriverIO monorepo (@wdio/browserstack-service@8.48.3keepswebdriverioindependenciesat8.46.0, peering only@wdio/cli). The extraction had moved it intopeerDependencies(^8.0.0), which forces the consumer'swebdriverioand cannpm ERESOLVEagainst a dep peering a non-overlappingwebdriveriorange. Restores install parity with the upstream v8 package; no user-facing API change.29be3ed: Port SDK-6277 (upstream webdriverio/webdriverio#15330): in the CLI/binary (v8) flow, forward screenshot-on-failure to the binary over gRPC as aTEST_SCREENSHOTlog (the binary uploads it via its own authorized testhub session) instead of the direct-HTTPonScreenshotpath, which 401s under the worker's binary-issued JWT. Also registers the command/result listeners in CLI mode so the user'ssaveScreenshot()/takeScreenshot()result is captured, and honors the incoming logkindin the mocha CLI framework so screenshots route correctly. Keeps the standalone v8 line at parity with the monorepo.cc229fe: Port missing upstream monorepo (webdriverio/webdriverio) v8 commits to keep the standalone v8 line at parity:testManagementOptions.testPlanIdsupport (envBROWSERSTACK_TEST_PLAN_ID/--browserstack.testManagementOptions.testPlanIdCLI arg / config), forwardtest_management.test_plan_idin the build-start request, strip CLI-only caps (NOT_ALLOWED_KEYS_IN_CAPS, incl.testManagementOptions) before hitting the hub, and surface build-start errors.SIGINTinstead ofSIGKILLon Unix.v8.48.3Compare Source
v8.48.0Compare Source
v8.47.1Compare Source
v8.47.0Compare Source
v8.46.0Compare Source
v8.45.0Compare Source
v8.44.1Compare Source
v8.44.0Compare Source
v8.43.0Compare Source
v8.42.0Compare Source
v8.41.0Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.