The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-0933

CVE-2026-0933: Wrangler CLI Command Injection Vulnerability

CVE-2026-0933 is a command injection vulnerability in Wrangler's pages deploy command that enables arbitrary code execution. This article covers the technical details, affected versions, CI/CD pipeline risks, and patches.

Published: January 23, 2026

CVE-2026-0933 Overview

A command injection vulnerability (CWE-78) has been discovered in the Cloudflare Wrangler CLI tool, specifically affecting the wrangler pages deploy command. The vulnerability exists because the --commit-hash parameter is passed directly to a shell command without proper validation or sanitization, allowing an attacker with control of this parameter to execute arbitrary commands on the system running Wrangler.

This vulnerability primarily poses a risk to CI/CD environments where wrangler pages deploy is used in automated pipelines and the --commit-hash parameter is populated from external, potentially untrusted sources.

Critical Impact

Attackers can execute arbitrary shell commands, exfiltrate environment variables, and compromise CI runners to install backdoors or modify build artifacts in automated deployment pipelines.

Affected Products

  • Cloudflare Wrangler v4 (versions prior to v4.59.1)
  • Cloudflare Wrangler v3 (versions prior to v3.114.17)
  • Cloudflare Wrangler v2 (End of Life - no patch available)

Discovery Timeline

  • 2026-01-20 - CVE-2026-0933 published to NVD
  • 2026-01-20 - Last updated in NVD database

Technical Details for CVE-2026-0933

Vulnerability Analysis

This command injection vulnerability stems from improper input validation in the Wrangler CLI's page deployment functionality. The commitHash variable, derived from user input via the --commit-hash CLI argument, is interpolated directly into a shell command using template literals. When the shell executes this command, any metacharacters within the commitHash value are interpreted by the shell, enabling arbitrary command execution.

The attack requires network access and low privileges, but needs specific conditions to be met—namely, the attacker must have control over the --commit-hash parameter value. This makes CI/CD environments particularly vulnerable, as these systems often populate command parameters from external sources such as webhook payloads, environment variables, or repository metadata.

Root Cause

The root cause is the direct interpolation of user-supplied input into shell command execution. The commitHash variable is passed to shell execution functions (such as execSync) using template literals without any sanitization or escaping. For example, a pattern like execSync(git show -s --format=%B ${commitHash}) allows shell metacharacters within the commitHash value to be interpreted by the underlying shell, enabling command chaining or injection.

Attack Vector

The attack vector is network-based and requires low privileges. An attacker must control the --commit-hash parameter, which is most likely in CI/CD pipeline scenarios where this value might be derived from:

  • Webhook payloads from version control systems
  • Environment variables set by external triggers
  • User-controlled input in automated deployment scripts

By injecting shell metacharacters (such as ;, |, &&, or backticks) into the commit hash value, an attacker can break out of the intended git command and execute arbitrary shell commands with the privileges of the CI/CD runner process.

The vulnerability mechanism involves unsanitized user input being passed to shell execution. When the --commit-hash parameter contains shell metacharacters, these are interpreted by the shell rather than being treated as literal strings. For detailed technical implementation, refer to the Cloudflare Workers SDK repository.

Detection Methods for CVE-2026-0933

Indicators of Compromise

  • Unexpected process spawning from Wrangler CLI execution contexts
  • Anomalous network connections originating from CI/CD runner processes
  • Environment variable access or exfiltration attempts during deployment jobs
  • Modified build artifacts or unexpected file system changes on CI runners

Detection Strategies

  • Monitor CI/CD logs for unusual --commit-hash parameter values containing shell metacharacters (;, |, &&, backticks, $())
  • Implement input validation alerts for deployment commands receiving non-hexadecimal commit hash values
  • Deploy endpoint detection on CI/CD runners to identify unexpected child processes spawned during Wrangler execution

Monitoring Recommendations

  • Enable detailed logging for all wrangler pages deploy commands in CI/CD pipelines
  • Monitor for outbound network connections from CI/CD runners that are not part of normal deployment operations
  • Review CI/CD pipeline configurations to identify where --commit-hash values are sourced from external inputs

How to Mitigate CVE-2026-0933

Immediate Actions Required

  • Upgrade Wrangler v4 installations to version 4.59.1 or higher immediately
  • Upgrade Wrangler v3 installations to version 3.114.17 or higher
  • Migrate from Wrangler v2 (End of Life) to a supported major version
  • Audit CI/CD pipelines to identify where --commit-hash parameters are populated from external sources

Patch Information

Cloudflare has released security patches addressing this vulnerability:

VersionPatched Release
Wrangler v4v4.59.1+
Wrangler v3v3.114.17+
Wrangler v2End of Life - upgrade required

For more information, refer to the Cloudflare Workers SDK repository.

Workarounds

  • Validate --commit-hash input to ensure it contains only valid hexadecimal characters (matching git commit hash format)
  • Avoid populating --commit-hash from untrusted external sources in CI/CD pipelines
  • Implement input sanitization layers before passing values to Wrangler commands
  • Use environment isolation for CI/CD runners processing external inputs
bash
# Example: Validate commit hash format before passing to Wrangler
# Ensure commit hash only contains valid hexadecimal characters
if [[ ! "$COMMIT_HASH" =~ ^[a-fA-F0-9]{40}$ ]]; then
    echo "Invalid commit hash format detected"
    exit 1
fi
wrangler pages deploy --commit-hash="$COMMIT_HASH"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWrangler

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.51%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Cloudflare Workers SDK
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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