Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-0933: CWE-20 Improper Input Validation in Cloudflare Wrangler

0
High
VulnerabilityCVE-2026-0933cvecve-2026-0933cwe-20
Published: Tue Jan 20 2026 (01/20/2026, 22:58:05 UTC)
Source: CVE Database V5
Vendor/Project: Cloudflare
Product: Wrangler

Description

CVE-2026-0933 is a high-severity command injection vulnerability in Cloudflare Wrangler's `wrangler pages deploy` command. It arises from improper input validation of the `--commit-hash` parameter, which is directly interpolated into a shell command without sanitization. An attacker controlling this parameter can execute arbitrary shell commands on the system running Wrangler, potentially compromising CI/CD pipelines. Exploitation requires attacker control over the `--commit-hash` input, typically in automated deployment environments where this parameter is sourced externally. The vulnerability affects Wrangler versions v2. 0. 15+ through v4. 0. 0 and has a CVSS 4. 0 score of 7.

AI-Powered Analysis

AILast updated: 01/20/2026, 23:20:18 UTC

Technical Analysis

CVE-2026-0933 is a command injection vulnerability classified under CWE-20 (Improper Input Validation) and CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The vulnerability exists in the Cloudflare Wrangler CLI tool, specifically in the `wrangler pages deploy` command. The root cause is the direct interpolation of the `--commit-hash` parameter into a shell command executed via Node.js's execSync function without any sanitization or validation. The vulnerable code pattern is similar to execSync(`git show -s --format=%B ${commitHash}`), where shell metacharacters in `commitHash` are interpreted by the shell, enabling arbitrary command execution. This flaw allows an attacker who can influence the `--commit-hash` argument to execute arbitrary shell commands on the host running Wrangler, which is often a CI/CD runner or build server. Potential malicious actions include exfiltrating environment variables, installing persistent backdoors, or modifying build artifacts, severely compromising the integrity and confidentiality of the build environment. Exploitation complexity is moderate, as it requires control over the `--commit-hash` parameter, which is typically set in automated deployment pipelines. The vulnerability affects Wrangler versions starting from v2.0.15 up to v4.0.0, with patches released in v4.59.1 and v3.114.17. No known exploits are reported in the wild yet. The CVSS 4.0 vector indicates network attack vector, low attack complexity, partial privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. The scope is limited to the system running Wrangler but can have cascading effects on deployed applications and infrastructure.

Potential Impact

For European organizations, this vulnerability poses a significant risk to the security of CI/CD pipelines that use Cloudflare Wrangler for deploying applications, especially those leveraging the `wrangler pages deploy` command with externally sourced commit hashes. Successful exploitation could lead to unauthorized command execution on build servers, resulting in theft of sensitive environment variables, insertion of malicious code into build artifacts, and persistent compromise of deployment infrastructure. This undermines the integrity and confidentiality of software supply chains, potentially leading to widespread downstream compromise of production environments. Organizations in sectors with strict regulatory requirements (e.g., finance, healthcare, critical infrastructure) face heightened risks of compliance violations and reputational damage. The vulnerability's exploitation could also disrupt availability of deployment processes, delaying critical updates and patches. Given the increasing adoption of automated CI/CD pipelines in Europe, the threat surface is substantial, particularly for organizations using Cloudflare Wrangler in multi-tenant or cloud-hosted CI environments where attacker control over input parameters is more plausible.

Mitigation Recommendations

European organizations should immediately upgrade affected Wrangler installations to at least v4.59.1 or v3.114.17, depending on their current major version. For those still on the unsupported v2 branch, migration to a supported version is critical. Additionally, organizations should audit their CI/CD pipelines to ensure that the `--commit-hash` parameter is never populated from untrusted or external sources without validation. Implement strict input validation and sanitization on all parameters passed to CLI tools in automated workflows. Employ least privilege principles for CI/CD runners to limit the impact of potential command injection. Use containerized or isolated build environments to contain any compromise. Monitor CI/CD logs and environment variables for suspicious activity indicative of exploitation attempts. Incorporate runtime detection tools that can alert on anomalous shell command executions within build environments. Finally, maintain an inventory of all Wrangler versions deployed across the organization to ensure timely patching and compliance.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
cloudflare
Date Reserved
2026-01-14T08:27:27.244Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69700a534623b1157c5370e7

Added to database: 1/20/2026, 11:05:55 PM

Last enriched: 1/20/2026, 11:20:18 PM

Last updated: 1/21/2026, 12:10:16 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Related Threats

CVE-2026-0672: CWE-93 in Python Software Foundation CPython

Medium
VulnerabilityTue Jan 20 2026

CVE-2026-21990: Easily exploitable vulnerability allows high privileged attacker with logon to the infrastructure where Oracle VM VirtualBox executes to compromise Oracle VM VirtualBox. While the vulnerability is in Oracle VM VirtualBox, attacks may significantly impact additional products (scope change). Successful attacks of this vulnerability can result in takeover of Oracle VM VirtualBox. in Oracle Corporation Oracle VM VirtualBox

High
VulnerabilityTue Jan 20 2026

CVE-2026-21989: Easily exploitable vulnerability allows high privileged attacker with logon to the infrastructure where Oracle VM VirtualBox executes to compromise Oracle VM VirtualBox. While the vulnerability is in Oracle VM VirtualBox, attacks may significantly impact additional products (scope change). Successful attacks of this vulnerability can result in unauthorized creation, deletion or modification access to critical data or all Oracle VM VirtualBox accessible data as well as unauthorized access to critical data or complete access to all Oracle VM VirtualBox accessible data and unauthorized ability to cause a partial denial of service (partial DOS) of Oracle VM VirtualBox. in Oracle Corporation Oracle VM VirtualBox

High
VulnerabilityTue Jan 20 2026

CVE-2026-21988: Easily exploitable vulnerability allows high privileged attacker with logon to the infrastructure where Oracle VM VirtualBox executes to compromise Oracle VM VirtualBox. While the vulnerability is in Oracle VM VirtualBox, attacks may significantly impact additional products (scope change). Successful attacks of this vulnerability can result in takeover of Oracle VM VirtualBox. in Oracle Corporation Oracle VM VirtualBox

High
VulnerabilityTue Jan 20 2026

CVE-2026-21987: Easily exploitable vulnerability allows high privileged attacker with logon to the infrastructure where Oracle VM VirtualBox executes to compromise Oracle VM VirtualBox. While the vulnerability is in Oracle VM VirtualBox, attacks may significantly impact additional products (scope change). Successful attacks of this vulnerability can result in takeover of Oracle VM VirtualBox. in Oracle Corporation Oracle VM VirtualBox

High
VulnerabilityTue Jan 20 2026

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats