The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-23653

CVE-2024-23653: Mobyproject BuildKit Privilege Escalation

CVE-2024-23653 is a privilege escalation vulnerability in Mobyproject BuildKit that allows containers to run with elevated privileges bypassing security entitlements. This article covers technical details, affected versions, and mitigations.

Published: January 28, 2026

CVE-2024-23653 Overview

CVE-2024-23653 is a critical authorization bypass vulnerability in BuildKit, a toolkit developed by the Moby Project for converting source code to build artifacts. The vulnerability exists in BuildKit's APIs for running interactive containers based on built images. Attackers can exploit these APIs to run containers with elevated privileges, bypassing the security.insecure entitlement checks that normally require explicit configuration and user permission.

Critical Impact

This vulnerability allows unauthorized privilege escalation through BuildKit's interactive container APIs, potentially enabling attackers to execute containers with elevated privileges without proper authorization, leading to complete compromise of confidentiality, integrity, and availability.

Affected Products

  • Mobyproject BuildKit versions prior to v0.12.5

Discovery Timeline

  • 2024-01-31 - CVE-2024-23653 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-23653

Vulnerability Analysis

This vulnerability is classified under CWE-863 (Incorrect Authorization), indicating a fundamental flaw in how BuildKit validates authorization for privileged container operations. BuildKit provides APIs that allow running interactive containers based on images created during the build process. Under normal circumstances, running containers with elevated privileges requires the security.insecure entitlement to be explicitly enabled in both the buildkitd daemon configuration and approved by the user initiating the build request.

The vulnerability allows attackers to circumvent these authorization controls entirely. By crafting specific API requests, an attacker can instruct BuildKit to execute a container with elevated privileges without having the required entitlements configured or approved. This effectively bypasses the security model designed to prevent unauthorized privilege escalation.

Root Cause

The root cause of this vulnerability lies in improper authorization validation within BuildKit's interactive container API handlers. The code path that processes requests to run interactive containers failed to properly enforce the security.insecure entitlement checks before executing privileged container operations. This authorization bypass allows attackers to escalate privileges by exploiting the gap between the intended security policy and its actual enforcement.

Attack Vector

The attack vector for CVE-2024-23653 is network-based and requires no user interaction or prior authentication. An attacker with network access to a vulnerable BuildKit instance can exploit this vulnerability through the following mechanism:

  1. The attacker identifies a BuildKit instance exposed over the network
  2. Using BuildKit's APIs for running interactive containers, the attacker crafts a request that specifies elevated privileges
  3. Due to the authorization bypass, BuildKit processes the request without verifying that the security.insecure entitlement is properly configured
  4. The container executes with elevated privileges, allowing the attacker to perform actions that should be restricted

The vulnerability is particularly dangerous when BuildKit instances are accessible from untrusted networks or when processing build requests from untrusted frontend sources.

Detection Methods for CVE-2024-23653

Indicators of Compromise

  • Unexpected containers running with elevated privileges or --privileged flags on systems using BuildKit
  • Build logs showing interactive container sessions that were not initiated by authorized users
  • API requests to BuildKit that specify privileged execution without corresponding entitlement configurations
  • Anomalous network connections to BuildKit daemon ports from unexpected sources

Detection Strategies

  • Monitor BuildKit daemon logs for API calls related to interactive container execution, particularly those requesting elevated privileges
  • Implement network monitoring to detect unauthorized access attempts to BuildKit API endpoints
  • Audit container runtime logs for containers spawned with privileged capabilities that bypass entitlement verification
  • Deploy runtime security tools to detect privilege escalation attempts within the container environment

Monitoring Recommendations

  • Enable verbose logging on buildkitd to capture detailed API request information
  • Set up alerts for any container execution requests that include privilege escalation parameters
  • Monitor for BuildKit versions prior to v0.12.5 across the infrastructure using vulnerability scanning tools
  • Implement network segmentation to restrict access to BuildKit APIs from trusted sources only

How to Mitigate CVE-2024-23653

Immediate Actions Required

  • Upgrade BuildKit to version v0.12.5 or later immediately to address this vulnerability
  • Restrict network access to BuildKit APIs using firewall rules and network segmentation until patching is complete
  • Audit existing BuildKit configurations and logs for signs of exploitation
  • Avoid using BuildKit frontends from untrusted sources

Patch Information

The Moby Project has released BuildKit version v0.12.5 which contains the security fix for this vulnerability. The fix is documented in GitHub Pull Request #4602 and the patched release is available at the BuildKit v0.12.5 Release Page. For complete technical details about the vulnerability and the fix, refer to the GitHub Security Advisory GHSA-wr6v-9f75-vh2g.

Workarounds

  • Isolate BuildKit instances from untrusted networks and restrict API access to authorized systems only
  • Implement strict network policies to prevent unauthorized clients from reaching BuildKit endpoints
  • Avoid using BuildKit frontends from untrusted or unverified sources until the upgrade is applied
  • Monitor container runtime for any privileged container executions that were not explicitly authorized
bash
# Configuration example: Restrict BuildKit daemon to localhost only
# In buildkitd configuration, bind to localhost instead of all interfaces
buildkitd --addr tcp://127.0.0.1:1234

# Use firewall rules to restrict access to BuildKit port
iptables -A INPUT -p tcp --dport 1234 -s trusted_network_cidr -j ACCEPT
iptables -A INPUT -p tcp --dport 1234 -j DROP

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechMobyproject Buildkit

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability8.85%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-863
  • Vendor Resources
  • GitHub Pull Request

  • GitHub Release v0.12.5

  • GitHub Security Advisory GHSA-wr6v-9f75-vh2g
  • Related CVEs
  • CVE-2024-23650: Mobyproject BuildKit DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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