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-2022-24769

CVE-2022-24769: Moby Privilege Escalation Vulnerability

CVE-2022-24769 is a privilege escalation vulnerability in Mobyproject Moby that allows unprivileged users to gain elevated capabilities. This article covers the technical details, affected versions, and mitigation steps.

Published: February 17, 2026

CVE-2022-24769 Overview

A privilege escalation vulnerability was discovered in Moby (Docker Engine) prior to version 20.10.14 where containers were incorrectly started with non-empty inheritable Linux process capabilities. This creates an atypical Linux environment that enables programs with inheritable file capabilities to elevate those capabilities to the permitted set during execve(2) system calls, potentially allowing unprivileged users within containers to gain elevated privileges.

Critical Impact

Containers with executable programs possessing inheritable file capabilities allow unprivileged users and processes to gain additional inheritable capabilities up to the container's bounding set, particularly impacting containers that use Linux users and groups for privilege separation.

Affected Products

  • Moby Project Moby (Docker Engine) versions prior to 20.10.14
  • Linux Foundation runc (affected versions)
  • Fedora 34, 35, and 36
  • Debian Linux 11.0

Discovery Timeline

  • 2022-03-24 - CVE CVE-2022-24769 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-24769

Vulnerability Analysis

This vulnerability stems from improper permission assignment for critical resources (CWE-732) within the Docker Engine's container initialization process. When containers are started, the Docker Engine configures Linux capabilities sets that control what privileged operations processes can perform. Due to this bug, the inheritable capability set was incorrectly populated with capabilities during container startup.

In standard Linux environments, when executable programs have specified permitted file capabilities, unprivileged users can execute those programs and gain the specified file capabilities up to the bounding set. The vulnerability extends this behavior by allowing processes to additionally gain inheritable file capabilities up to the container's bounding set during execve(2) calls.

Importantly, this vulnerability does not affect the container security sandbox itself, as the inheritable set never contained more capabilities than were included in the container's bounding set. However, containers utilizing Linux users and groups for internal privilege separation are most directly impacted, as the atypical capability environment could allow privilege escalation within the container.

Root Cause

The root cause lies in how Moby configured the specs.LinuxCapabilities structure during container initialization. The Docker Engine was incorrectly setting the Inheritable capability set alongside Bounding, Permitted, and Effective sets. In a proper Linux security model, the inheritable set should typically be empty for non-privileged containers to prevent capability inheritance across execve(2) boundaries.

The fix removes the assignment of inheritable capabilities from both privileged container execution (daemon/exec_linux.go) and default container specifications (oci/defaults.go), ensuring containers start with an empty inheritable capability set consistent with standard Linux behavior.

Attack Vector

The attack requires local access to a container environment. An attacker with access to an unprivileged user account inside a vulnerable container could:

  1. Identify executable programs within the container that have inheritable file capabilities set
  2. Execute these programs to inherit capabilities into their permitted set
  3. Leverage the elevated capabilities to perform privileged operations within the container
  4. Potentially escalate privileges to compromise container-level access controls

The following patch demonstrates the fix implemented in daemon/exec_linux.go:

go
 		}
 	}
 	if ec.Privileged {
-		if p.Capabilities == nil {
-			p.Capabilities = &specs.LinuxCapabilities{}
+		p.Capabilities = &specs.LinuxCapabilities{
+			Bounding:  caps.GetAllCapabilities(),
+			Permitted: caps.GetAllCapabilities(),
+			Effective: caps.GetAllCapabilities(),
 		}
-		p.Capabilities.Bounding = caps.GetAllCapabilities()
-		p.Capabilities.Permitted = p.Capabilities.Bounding
-		p.Capabilities.Inheritable = p.Capabilities.Bounding
-		p.Capabilities.Effective = p.Capabilities.Bounding
 	}
 	if apparmor.HostSupports() {
 		var appArmorProfile string

Source: GitHub Moby Commit Update

The corresponding fix in oci/defaults.go similarly removes the inheritable capability assignment:

go
 	Version: specs.Version,
 	Process: &specs.Process{
 		Capabilities: &specs.LinuxCapabilities{
-			Bounding:    caps.DefaultCapabilities(),
-			Permitted:   caps.DefaultCapabilities(),
-			Inheritable: caps.DefaultCapabilities(),
-			Effective:   caps.DefaultCapabilities(),
+			Bounding:  caps.DefaultCapabilities(),
+			Permitted: caps.DefaultCapabilities(),
+			Effective: caps.DefaultCapabilities(),
 		},
 	},
 	Root: &specs.Root{},

Source: GitHub Moby Commit Update

Detection Methods for CVE-2022-24769

Indicators of Compromise

  • Unusual capability elevation patterns within container processes during execve(2) calls
  • Container processes operating with unexpected inheritable capabilities in /proc/[pid]/status
  • Abnormal privilege escalation attempts within containers using Linux user/group separation
  • Processes gaining file capabilities beyond expected permission boundaries

Detection Strategies

  • Monitor container runtime logs for capability-related anomalies during process execution
  • Implement audit rules to track execve(2) system calls within containers and flag capability inheritance
  • Use container security tools to scan for binaries with inheritable file capabilities set
  • Deploy runtime security solutions to detect privilege escalation attempts within container environments

Monitoring Recommendations

  • Enable detailed Docker Engine logging to capture container initialization and capability assignment
  • Implement process monitoring within containers to detect capability changes during execution
  • Configure alerting for any processes acquiring capabilities beyond their initial assignment
  • Review container images for executables with inheritable file capabilities using tools like getcap

How to Mitigate CVE-2022-24769

Immediate Actions Required

  • Upgrade Moby (Docker Engine) to version 20.10.14 or later immediately
  • Stop, delete, and recreate all running containers to reset inheritable capabilities
  • Audit container images for executables with inheritable file capabilities
  • Review containers using Linux user/group privilege separation for potential exposure

Patch Information

The vulnerability has been fixed in Moby (Docker Engine) version 20.10.14. The fix changes Docker Engine behavior to start containers with a more typical Linux environment where the inheritable capability set is empty. Security updates are also available through distribution channels for Fedora, Debian, and Gentoo Linux.

Key resources for patching:

  • GitHub Moby Release v20.10.14
  • GitHub Security Advisory GHSA-2mm7-x5h6-5pvq
  • Debian Security Advisory DSA-5162
  • Gentoo GLSA 202401-31

Workarounds

  • Modify container entry points to use capsh(1) utility to drop inheritable capabilities before starting the primary process
  • Avoid running executables with inheritable file capabilities in affected containers
  • Implement strict capability dropping in container initialization scripts
  • Consider using seccomp profiles to limit capability-related system calls
bash
# Configuration example - Drop inheritable capabilities using capsh
# Modify container entrypoint to include capability dropping
docker run --entrypoint="/bin/sh" myimage -c \
  "capsh --inh='' --drop=all -- -c '/app/entrypoint.sh'"

# Alternatively, create a wrapper script for container entry
#!/bin/bash
# /usr/local/bin/secure-entrypoint.sh
exec capsh --inh='' -- -c "$@"

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechMoby

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-732
  • Technical References
  • OpenWall Security Mailing List

  • GitHub Moby Release v20.10.14

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202401-31

  • Debian Security Advisory DSA-5162
  • Vendor Resources
  • GitHub Moby Commit Update

  • GitHub Security Advisory GHSA-2mm7-x5h6-5pvq
  • Related CVEs
  • CVE-2026-33997: Moby Privilege Escalation Vulnerability

  • CVE-2021-41089: Moby Docker Engine Privilege Escalation

  • CVE-2026-34040: Moby Authorization Bypass Vulnerability

  • CVE-2024-29018: Moby Information Disclosure Vulnerability
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