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-2024-45496

CVE-2024-45496: OpenShift Privilege Escalation Flaw

CVE-2024-45496 is a privilege escalation vulnerability in OpenShift Container Platform affecting the build process. Attackers with developer access can exploit git-clone to execute arbitrary commands on worker nodes.

Published: May 26, 2026

CVE-2024-45496 Overview

CVE-2024-45496 is a privilege escalation vulnerability in Red Hat OpenShift Container Platform's build process. The flaw resides in the git-clone container used during build initialization, which runs with a privileged security context. An attacker with developer-level access can supply a malicious .gitconfig file containing shell commands that execute during the cloning operation. Because the container runs privileged, the commands execute on the underlying worker node with elevated permissions. The issue is classified as Improper Privilege Management [CWE-269].

Critical Impact

Authenticated developer users can achieve arbitrary command execution on OpenShift worker nodes, escaping container boundaries and compromising the cluster host.

Affected Products

  • Red Hat OpenShift Container Platform 4.x
  • OpenShift builds using the git-clone privileged container
  • Red Hat OpenShift API for Data Protection (OADP) components referenced in associated advisories

Discovery Timeline

  • 2024-09-17 - CVE-2024-45496 published to NVD
  • 2024-09-17 - Red Hat releases security advisories RHSA-2024:6685, 6687, 6689, 6691, and 6705
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2024-45496

Vulnerability Analysis

The vulnerability stems from running the git-clone build initialization container with a privileged security context. Privileged containers in OpenShift bypass standard container isolation, granting full access to host devices, capabilities, and namespaces. When OpenShift performs a Git-based source build, it invokes git clone inside this privileged container before user code is built. Git honors directives in .gitconfig files, including hooks and helpers that execute arbitrary commands. An attacker who can submit a build configuration or repository content can plant a crafted .gitconfig that triggers command execution during the clone phase. Because the container is privileged, those commands execute with effective access to the worker node hosting the build pod.

Root Cause

The root cause is misuse of elevated privileges in the build pipeline. The build initialization step does not need privileged access for source retrieval, yet the git-clone container is configured with a privileged security context. This design choice combines an untrusted input surface (Git configuration parsed from attacker-controlled sources) with full node access, violating the principle of least privilege.

Attack Vector

The attacker requires developer-level credentials on the OpenShift cluster (PR:L in the CVSS vector). The attacker authors a Git repository or build input that includes a malicious .gitconfig containing directives such as core.sshCommand or credential helper hooks that execute shell commands. When OpenShift triggers the build, the git-clone container parses the configuration and executes the embedded commands on the worker node, enabling lateral movement, secret theft from kubelet credentials, or full cluster compromise via the scope change (S:C). No verified public proof-of-concept code is available; see the Red Hat CVE Analysis for CVE-2024-45496 for advisory-level technical detail.

Detection Methods for CVE-2024-45496

Indicators of Compromise

  • Unexpected child processes spawned by the git-clone init container during build pods, especially shells, network utilities, or package managers.
  • Outbound network connections from build pods to non-Git endpoints during the clone phase.
  • Modification of host paths or kubelet credentials originating from build worker nodes.
  • Build inputs or repositories containing .gitconfig files with core.sshCommand, credential.helper, or core.pager directives invoking shell commands.

Detection Strategies

  • Audit OpenShift build pod specs for containers running with securityContext.privileged: true and correlate with build activity.
  • Inspect repository contents and build inputs for suspicious .gitconfig directives before allowing builds to proceed.
  • Monitor Kubernetes audit logs for build creations originating from low-privileged developer accounts followed by node-level anomalies.

Monitoring Recommendations

  • Enable runtime process monitoring on worker nodes to flag unexpected processes launched under build pod cgroups.
  • Forward OpenShift audit logs and node host telemetry to a centralized analytics platform for correlation.
  • Alert on any privileged container execution that originates from the openshift-builds or related build namespaces.

How to Mitigate CVE-2024-45496

Immediate Actions Required

  • Apply the Red Hat security updates referenced in RHSA-2024:6685, RHSA-2024:6687, RHSA-2024:6689, RHSA-2024:6691, and RHSA-2024:6705.
  • Review and restrict which users hold developer-level build permissions in shared OpenShift clusters.
  • Audit existing build configurations and repositories for malicious .gitconfig payloads.

Patch Information

Red Hat has released fixes through multiple advisories. Refer to RHSA-2024:6685, RHSA-2024:6687, RHSA-2024:6689, RHSA-2024:6691, RHSA-2024:6705, and the earlier RHSA-2024:3718 for component-specific package versions. Tracking details are available in Red Hat Bugzilla #2308661.

Workarounds

  • Until patched, restrict OpenShift build creation to trusted service accounts and pipelines instead of individual developer accounts.
  • Use external CI systems to perform Git cloning and supply pre-fetched source artifacts to OpenShift builds, avoiding the privileged git-clone container.
  • Enforce SecurityContextConstraints (SCC) policies that prohibit privileged containers in build namespaces where feasible.
bash
# Example: list build pods running privileged containers
oc get pods -A -o json | \
  jq '.items[] | select(.spec.containers[].securityContext.privileged==true) | {namespace: .metadata.namespace, name: .metadata.name}'

# Example: restrict the restricted-v2 SCC to non-privileged build service accounts
oc adm policy add-scc-to-user restricted-v2 -z builder -n <build-namespace>

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechOpenshift

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-269
  • Technical References
  • Red Hat Security Advisory RHSA-2024:3718

  • Red Hat Security Advisory RHSA-2024:6685

  • Red Hat Security Advisory RHSA-2024:6687

  • Red Hat Security Advisory RHSA-2024:6689

  • Red Hat Security Advisory RHSA-2024:6691

  • Red Hat Security Advisory RHSA-2024:6705

  • Red Hat CVE Analysis CVE-2024-45496

  • Red Hat Bugzilla Report #2308661
  • Related CVEs
  • CVE-2025-57854: OpenShift Update Service Escalation Flaw

  • CVE-2025-13888: OpenShift GitOps Privilege Escalation

  • CVE-2024-25133: OpenShift Hive Privilege Escalation Flaw

  • CVE-2024-7387: OpenShift Builder RCE Vulnerability
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