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-45131

CVE-2026-45131: CloudPirates Helm Charts RCE Vulnerability

CVE-2026-45131 is a remote code execution flaw in CloudPirates Open Source Helm Charts that allows attackers to execute code via GitHub Actions workflows and expose repository secrets. This article covers technical details, impact, and fixes.

Published: June 4, 2026

CVE-2026-45131 Overview

CVE-2026-45131 is a code injection vulnerability in the CloudPirates Open Source Helm Charts repository. The flaw resides in the pull-request.yaml GitHub Actions workflow, which executes attacker-controlled code from fork pull requests inside a privileged execution context. Any contributor can open a malicious pull request and trigger workflow code execution without maintainer approval. The privileged context exposes repository secrets, including Docker Hub credentials and CI tokens. Maintainers patched the issue in commit fcf9302. The vulnerability is tracked under CWE-94: Improper Control of Generation of Code.

Critical Impact

Unauthenticated attackers can exfiltrate Docker Hub credentials and CI tokens by submitting a malicious pull request from any fork.

Affected Products

  • CloudPirates Open Source Helm Charts repository
  • All commits prior to fcf9302
  • The pull-request.yaml GitHub Actions workflow

Discovery Timeline

  • 2026-06-01 - CVE-2026-45131 published to NVD
  • 2026-06-01 - Last updated in NVD database

Technical Details for CVE-2026-45131

Vulnerability Analysis

The pull-request.yaml workflow uses a trigger that grants pull requests from forks access to repository secrets. GitHub Actions provides two pull request triggers: pull_request runs in an unprivileged context, while pull_request_target runs against the base repository with full secret access. When pull_request_target checks out and executes code from the head of a fork branch, attacker-supplied content runs with maintainer privileges.

In this case, the workflow checks out fork code and runs build or test steps that consume secrets.DOCKERHUB_TOKEN and related credentials. Attackers control the executed code through any file referenced by the workflow, such as scripts, Makefiles, or Helm chart manifests. Once the workflow runs, the attacker can read the secrets from process memory or environment variables and exfiltrate them over the network.

Root Cause

The root cause is the combination of a privileged workflow trigger with checkout of untrusted fork code. The workflow trusted pull request content that any GitHub user can modify, violating the separation between privileged automation and untrusted input. No maintainer approval gate existed before secret-bearing jobs ran.

Attack Vector

An attacker forks the repository, modifies a file consumed by the workflow, and opens a pull request against the base repository. The pull_request_target workflow triggers automatically, checks out the malicious branch, and executes the attacker payload with access to secrets.*. The payload reads the Docker Hub token and posts it to an attacker-controlled endpoint. The exfiltrated Docker Hub credentials allow the attacker to push malicious images to the project's container registry, enabling downstream supply chain attacks against Helm chart consumers.

Technical details are documented in GitHub Security Advisory GHSA-c47r-c7gw-cvph and the remediation commit.

Detection Methods for CVE-2026-45131

Indicators of Compromise

  • Workflow runs of pull-request.yaml triggered by pull requests from forks before commit fcf9302.
  • Outbound network connections from GitHub Actions runners to unknown hosts during pull request workflow execution.
  • Unauthorized image pushes to the CloudPirates Docker Hub namespace from unfamiliar IP addresses or at unusual times.
  • Use of DOCKERHUB_TOKEN or other repository secrets outside expected publish workflows.

Detection Strategies

  • Audit GitHub Actions workflow run logs for fork pull requests that executed steps consuming secrets prior to the patch.
  • Inspect Docker Hub audit logs for image pushes, tag changes, and token usage that do not align with maintainer activity.
  • Review GitHub repository secret access logs and rotate any token used by the vulnerable workflow.

Monitoring Recommendations

  • Enable GitHub Advanced Security and configure alerts for workflows that combine pull_request_target with actions/checkout of the pull request head.
  • Forward GitHub audit logs and Docker Hub registry events into a centralized SIEM for correlation.
  • Alert on first-time publisher identities pushing to production container registries.

How to Mitigate CVE-2026-45131

Immediate Actions Required

  • Update the repository to commit fcf9302 or later, which removes the privileged execution of untrusted fork code.
  • Rotate all secrets exposed to the vulnerable workflow, including DOCKERHUB_TOKEN and any GitHub personal access tokens stored in repository or organization secrets.
  • Review all container images published from the repository since the workflow was introduced and revoke any that cannot be verified.
  • Pin GitHub Actions to commit SHAs and enable required reviewer approval for workflow runs from first-time contributors.

Patch Information

The fix is available in commit fcf9302 of the CloudPirates Helm Charts repository. The patch restructures the workflow so that fork-supplied code no longer executes in a context with access to repository secrets. Consumers who fork or vendor this workflow must apply the equivalent change to their own copies.

Workarounds

  • Replace pull_request_target with pull_request for any job that executes fork code, accepting the loss of secret access for those jobs.
  • Split workflows so that secret-consuming steps only run on the base branch after merge, never against fork content.
  • Require maintainer approval before workflows run on pull requests from first-time contributors using the repository setting under Actions > General.
bash
# Configuration example: safe workflow trigger separation
on:
  pull_request:
    branches: [main]
  push:
    branches: [main]

jobs:
  test:
    # Runs on untrusted fork code WITHOUT secrets
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: helm lint charts/*

  publish:
    # Runs only on trusted base branch WITH secrets
    if: github.event_name == 'push'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Push image
        env:
          DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
        run: ./scripts/publish.sh

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCloudpirates

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Commit Changes

  • GitHub Security Advisory GHSA-c47r-c7gw-cvph
  • Related CVEs
  • CVE-2026-45132: CloudPirates Helm Charts Info Disclosure
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