Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2724+ Articles
166+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-11325: Cloudflare pages-action GitHub Actions RCE
CVE-2026-11325: Cloudflare pages-action GitHub Actions RCE
SECURITYHIGHCVE-2026-11325

CVE-2026-11325: Cloudflare pages-action GitHub Actions RCE

High-severity RCE in cloudflare/pages-action exposes CI/CD credentials. Migrate to wrangler-action before Sept 18, 2026 sunset.

Dylan H.

Security Team

August 13, 2026
3 min read

Affected Products

  • cloudflare/pages-action (all versions)

Overview

CVE-2026-11325 is a high-severity remote code execution vulnerability in Cloudflare's deprecated cloudflare/pages-action GitHub Actions integration. The flaw exists in src/index.ts and can be exploited through crafted GitHub Actions workflow triggers to execute arbitrary OS commands within the CI runner context — and exfiltrate sensitive secrets such as CLOUDFLARE_API_TOKEN and GITHUB_TOKEN.

FieldValue
CVECVE-2026-11325
CVSS v3.18.8 HIGH
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWECWE-78 (OS Command Injection), CWE-1104 (Unmaintained Third-Party Component)
Affectedcloudflare/pages-action — all versions, including v1 pinned tag
PatchNone — action is deprecated and being sunset
Sunset dateSeptember 18, 2026

Technical Details

The vulnerability is rooted in src/index.ts, the main entrypoint of the cloudflare/pages-action Action. Certain workflow configurations allow an attacker to inject OS-level commands that execute within the GitHub Actions runner. Because the runner environment typically holds privileged secrets, successful exploitation leads to:

  • Arbitrary command execution in the CI/CD runner context
  • Exfiltration of CLOUDFLARE_API_TOKEN — providing full API access to the linked Cloudflare account
  • Exfiltration of GITHUB_TOKEN — allowing repository reads, writes, and further pipeline manipulation

The CVSS vector scores Confidentiality, Integrity, and Availability all as High, with network attack surface, low complexity, and no required privileges — making this straightforward to exploit given a triggerable workflow.

The use of mutable version tags (such as uses: cloudflare/pages-action@v1) is a contributing factor; pinning by commit SHA is a best practice specifically to prevent tag-spoofing and supply-chain attacks, and is especially critical when the upstream repository is no longer actively maintained.

Impact

Any organization using cloudflare/pages-action in GitHub Actions workflows is at risk of:

  • Full CI/CD pipeline compromise
  • Cloudflare account takeover via API token theft
  • Cross-repository spread via stolen GITHUB_TOKEN
  • Data exfiltration and lateral movement into cloud infrastructure

Because Cloudflare has deprecated this action and no patch will be released, the risk will remain until workflows are migrated.

Remediation

Immediate action required — migrate before September 18, 2026.

Cloudflare recommends migrating all workflows from cloudflare/pages-action to cloudflare/wrangler-action, which supports Cloudflare Pages deployments and is actively maintained.

Example migration:

# Before (vulnerable — DO NOT USE)
- uses: cloudflare/pages-action@v1
  with:
    apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
    accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
    projectName: my-project
    directory: dist
 
# After (recommended)
- uses: cloudflare/wrangler-action@v3
  with:
    apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
    accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
    command: pages deploy dist --project-name=my-project

Additional hardening steps:

  1. Audit all workflows now — search for cloudflare/pages-action across your repositories
  2. Rotate exposed secrets — if the action has run in any workflow, treat CLOUDFLARE_API_TOKEN and GITHUB_TOKEN as potentially compromised; rotate immediately
  3. Pin actions by commit SHA — never use mutable tags (@v1, @main) for third-party actions
  4. Apply least-privilege — restrict token scopes to only what each job requires
  5. Audit CI logs for unexpected outbound connections or secret usage patterns

References

  • NVD — CVE-2026-11325
  • cloudflare/wrangler-action (GitHub)
  • Cloudflare Pages Deploy Action Migration Guide
#CVE#GitHub Actions#Cloudflare#CI/CD#RCE#credential-theft

Related Articles

Popular GitHub Action Tags Redirected to Imposter Commit to Steal CI/CD Credentials

Threat actors have compromised the widely-used actions-cool/issues-helper GitHub Action, redirecting every existing tag to a malicious imposter commit...

6 min read

CI/CD Pipeline with GitHub Actions and Azure

Build a secure CI/CD pipeline with GitHub Actions deploying to Azure. Covers build, test, security scanning (SAST/DAST), and deployment with OIDC...

11 min read

Exploitable CI/CD Vulnerabilities Expose Millions of Repositories to Hijacking

Security researchers have disclosed a class of exploitable flaws in CI/CD pipeline configurations that allow unauthenticated attackers to take full...

6 min read
Back to all Security Alerts