{"cve":"CVE-2026-25244","nvd":{"published":"2026-05-18T21:16:39.547","modified":"2026-07-24T13:10:00.223","status":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-78"],"references":["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://github.com/webdriverio/webdriverio/security/advisories/GHSA-5c46-x3qw-q7j7","https://access.redhat.com/security/cve/CVE-2026-25244","https://bugzilla.redhat.com/show_bug.cgi?id=2479692"],"products":["openjsf:webdriverio"],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-25244","score":0.03308,"percentile":0.88551,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5c46-x3qw-q7j7","url":"https://osv.dev/vulnerability/GHSA-5c46-x3qw-q7j7","summary":"WebdriverIO BrowserStack Service has a Command Injection issue","modified":"2026-09-10T03:51:04.731719526Z","packages":[{"ecosystem":"npm","name":"@wdio/browserstack-service","purl":"pkg:npm/%40wdio/browserstack-service","ranges":["<9.24.0"],"fixed":["9.24.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}