Skip to main content

Cloudflare pages-action CVE-2026-11325

| EUVDEUVD-2026-57178 HIGH
OS Command Injection (CWE-78)
2026-08-12 cloudflare GHSA-7f69-cxp9-gxx9
8.8
CVSS 3.1 · Vendor: cloudflare
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit PR with injected shell payload
  2. Delivery
    Maintainer triggers CI workflow
  3. Exploit
    pages-action processes unsanitized input in src/index.ts
  4. Execution
    OS command injection executes in runner
  5. Impact
    Workflow secrets exfiltrated to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target repository uses cloudflare/pages-action in a GitHub Actions workflow that processes external input - specifically, workflows triggered by pull_request or similar events that incorporate attacker-controlled data (branch names, PR titles, commit messages) into shell command execution paths within src/index.ts. The CVSS vector UI:R indicates a workflow run must be triggered, meaning a maintainer action (approving a PR run, manually triggering the pipeline) or an auto-trigger configuration is required. PR:N confirms no prior authentication or repository access is needed from the attacker's side - submitting a public pull request is sufficient. Exploitation is limited to repositories that have not yet migrated to cloudflare/wrangler-action, and to workflow configurations that expose untrusted external input to the action's execution context. Repositories using pages-action only in push-triggered workflows without external input are at materially lower risk.

Impact

The provided CVSS 3.1 score of 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects a high-severity network-reachable flaw requiring no privilege but requiring user interaction - consistent with a workflow-trigger model where a maintainer must run the CI pipeline. The real-world risk is compounded by several factors: secrets such as CLOUDFLARE_API_TOKEN and GITHUB_TOKEN have broad blast radius (full account API access and repository write access, respectively), and the product will receive zero security patches by vendor declaration. There is no CISA KEV listing and no confirmed public POC, so exploitation is not yet confirmed as active or widespread. However, the HackerOne disclosure and two credited researchers indicate the vulnerability is reproducible. The critical operational risk is the hard deprecation deadline: the action will be forcibly removed on 2026-09-18, causing CI/CD disruption for non-migrated consumers independent of exploitation. EPSS data is not provided; given the niche GitHub Actions ecosystem footprint, widespread automated scanning is unlikely, but targeted attacks against high-value repositories are plausible.

Exploit ScenarioDerived

An external contributor opens a pull request to a target repository with a crafted branch name or PR metadata containing shell metacharacters. A maintainer triggers the CI/CD pipeline (or a workflow is configured to run automatically on pull_request events), causing the pages-action step in src/index.ts to process the attacker-controlled input and execute injected OS commands within the runner environment. The injected command exfiltrates CLOUDFLARE_API_TOKEN and GITHUB_TOKEN from the workflow environment variables to an attacker-controlled endpoint, granting full API access to the victim's Cloudflare account and repository.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 12, 2026

Remote code execution in the archived Cloudflare pages-action GitHub Action (src/index.ts) allows network-adjacent attackers to exfiltrate CI/CD secrets - including CLOUDFLARE_API_TOKEN and GITHUB_TOKEN - from affected workflow runner environments. All published versions of cloudflare/pages-action are affected, and Cloudflare has confirmed no patch will be issued because the repository has been deprecated since 2024 and is scheduled for removal on 2026-09-18. No public exploit code has been confirmed at time of analysis, but the vulnerability was discovered and reported through Cloudflare's HackerOne program by external researchers.

RemediationAI

No vendor-released patch identified at time of analysis, and Cloudflare has confirmed none will be issued. The sole supported remediation path is migration from cloudflare/pages-action to cloudflare/wrangler-action before 2026-09-18, after which the repository will be deleted and any remaining consumers will experience CI/CD breakage. Migration guidance is available in the wrangler-action README at https://github.com/cloudflare/wrangler-action. As an immediate compensating control prior to migration, organizations should audit all workflows using pages-action and restrict the workflow triggers to avoid processing untrusted external input (e.g., disable pull_request_target events from forks, or gate workflow execution on maintainer approval). Additionally, rotate any CLOUDFLARE_API_TOKEN and GITHUB_TOKEN secrets exposed to pages-action workflows if there is any suspicion of prior exploitation, as these tokens would have been accessible to an attacker who triggered the RCE. Pinning to a specific commit SHA rather than the v1 floating tag does not address the underlying vulnerability but limits exposure to unreviewed upstream changes.

Affected VersionsENISA

https://github.com/cloudflare/pages-action 0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is cloudflare/pages-action, a GitHub Actions step used to deploy to Cloudflare Pages directly from CI/CD pipelines. The root cause is classified as CWE-78 (OS Command Injection), meaning user-controlled input - likely derived from GitHub event context such as PR metadata, branch names, or commit messages - reaches a shell execution path in src/index.ts without adequate sanitization. In GitHub Actions, this class of flaw is commonly exploitable when workflows process pull_request or pull_request_target events from forks, allowing external contributors to inject shell metacharacters that are passed to runtime commands. The CPE string (cpe:2.3:a:cloudflare:https://github.com/cloudflare/pages-action:*:*:*:*:*:*:*:*) and affected-versions listing confirm all releases, including consumers pinned to the v1 floating tag, are in scope.

Know when Https gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (cloudflare) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-delivered via PR, no attacker privileges needed, but maintainer must trigger the workflow run (UI:R); secrets compromise yields full C/I/A impact within runner scope.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (cloudflare).

CVSS VectorVendor: cloudflare

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Description

Cloudflare was recently notified by external researchers of vulnerabilities in this archived repository, including a remote code execution issue in src/index.ts reachable from certain GitHub Actions workflow configurations. Successful exploitation may expose workflow secrets such as CLOUDFLARE_API_TOKEN and GITHUB_TOKEN to an attacker. Because this repository has been deprecated since 2024, Cloudflare will not be issuing patches. To remediate this issue, we recommend migrating to cloudflare/wrangler-action immediately. Consumers who have already migrated are not affected.

Sunset Date

The cloudflare/pages-action repository will be removed on 2026-09-18. Consumers must complete migration before 18th September to avoid CI disruption.

Affected Versions

All published versions of cloudflare/pages-action, including consumers pinned to the v1 moving tag.

Patched Versions

None. This repository will not receive further updates, including security patches.

Resolution / Migration Path Migrate all workflows using cloudflare/pages-action to cloudflare/wrangler-action before 2026-09-18. Refer to the wrangler-action README for the equivalent step configuration and migration guidance.

Credit

Thanks to @agentka99 and @beg1nn3r for reporting their findings via Cloudflare's HackerOne program that informe

Executive ViewAI

Why It Matters

The deprecated Cloudflare pages-action GitHub Action contains a critical remote code execution vulnerability enabling exfiltration of CI/CD secrets including Cloudflare API tokens and GitHub tokens from affected workflow environments. Organizations still using this archived action face immediate risk of complete pipeline compromise and unauthorized deployment access; the action is scheduled for vendor removal on 2026-09-18.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: immediately deprecate the action across all workflows; rotate all exposed CI/CD credentials (CLOUDFLARE_API_TOKEN, GITHUB_TOKEN); audit historical workflow logs for unauthorized access indicators; migrate to vendor-supported alternatives before 2026-09-18 removal deadline. Implementation of branch protection rules to block archived action usage is recommended.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
deprecated GitHub Action, niche Cloudflare Pages CI/CD footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy