Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2023-25173

CVE-2023-25173: Containerd Privilege Escalation Vulnerability

CVE-2023-25173 is a privilege escalation vulnerability in containerd where supplementary groups are not set up properly inside containers, potentially allowing attackers to bypass group restrictions and access sensitive data.

Published: February 4, 2026

CVE-2023-25173 Overview

CVE-2023-25173 is a privilege escalation vulnerability in containerd, an open source container runtime widely used in container orchestration platforms. A bug was discovered in containerd versions prior to 1.6.18 and 1.5.18 where supplementary groups are not properly set up inside a container. This improper authorization flaw (CWE-863) allows attackers with direct access to a container to manipulate their supplementary group access, potentially bypassing primary group restrictions.

Critical Impact

Attackers who gain access to a vulnerable container can leverage improperly configured supplementary groups to access sensitive information or execute code within that container by bypassing primary group restrictions.

Affected Products

  • Linux Foundation containerd versions prior to 1.6.18
  • Linux Foundation containerd versions prior to 1.5.18
  • Downstream applications using the containerd client library

Discovery Timeline

  • February 16, 2023 - CVE-2023-25173 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-25173

Vulnerability Analysis

This vulnerability stems from improper handling of supplementary groups when containers are initialized. In Linux systems, supplementary groups provide an additional layer of access control beyond the primary group. When containerd fails to properly configure these groups, it creates a privilege boundary that can be circumvented by attackers who have gained initial access to the container environment.

The vulnerability is particularly concerning in multi-tenant container environments where supplementary groups are used to enforce access controls to sensitive resources. An attacker who manipulates their supplementary group membership could gain unauthorized access to files, directories, or other resources that should be restricted based on group membership.

Root Cause

The root cause of CVE-2023-25173 lies in the container creation process within containerd's CRI (Container Runtime Interface) server implementation. Specifically, when creating Linux containers, the code path responsible for setting up the container's security context failed to properly propagate supplementary groups from the security context configuration. The specOpts array was only appending additional GIDs based on the user string but was not including the supplementary groups specified in the security context.

Attack Vector

The attack requires local access to a vulnerable container environment. An attacker who has gained initial access to a container (through application vulnerabilities, misconfigurations, or compromised credentials) can exploit this flaw by manipulating their supplementary group access. This could allow them to:

  1. Access files and directories restricted by group permissions
  2. Execute binaries that require specific group membership
  3. Bypass security controls that rely on proper group-based access restrictions

The attack is particularly effective when containers use the USER $USERNAME Dockerfile instruction, as this triggers the vulnerable code path.

go
 		// Because it is still useful to get additional gids for uid 0.
 		userstr = strconv.FormatInt(securityContext.GetRunAsUser().GetValue(), 10)
 	}
-	specOpts = append(specOpts, customopts.WithAdditionalGIDs(userstr))
+	specOpts = append(specOpts, customopts.WithAdditionalGIDs(userstr),
+		customopts.WithSupplementalGroups(securityContext.GetSupplementalGroups()))
 
 	asp := securityContext.GetApparmor()
 	if asp == nil {

Source: Containerd Security Patch

The fix adds a call to customopts.WithSupplementalGroups() that properly sets supplementary groups from the security context when creating container specifications.

Detection Methods for CVE-2023-25173

Indicators of Compromise

  • Unexpected group membership changes within running containers
  • Unauthorized access to group-protected resources in container filesystems
  • Anomalous file access patterns from containerized processes
  • Containers running with unexpected supplementary group configurations

Detection Strategies

  • Monitor container runtime logs for unusual group-related operations
  • Implement audit logging for file access within containers to detect privilege boundary violations
  • Use container security tools to compare expected vs actual group configurations
  • Deploy runtime security monitoring to detect anomalous process behavior within containers

Monitoring Recommendations

  • Enable verbose logging for containerd to capture container creation details
  • Implement file integrity monitoring within containers for sensitive directories
  • Monitor for processes attempting to access resources outside their expected group permissions
  • Use SentinelOne's container security capabilities to detect runtime privilege escalation attempts

How to Mitigate CVE-2023-25173

Immediate Actions Required

  • Update containerd to version 1.6.18 or 1.5.18 or later immediately
  • Recreate all existing containers after updating to ensure proper supplementary group configuration
  • Review downstream applications using containerd's client library for separate advisories
  • Audit container Dockerfiles for usage of the vulnerable USER $USERNAME instruction

Patch Information

The vulnerability has been fixed in containerd versions 1.6.18 and 1.5.18. Users should update to these versions and recreate containers to resolve the issue. The fix is available via the official containerd commit. Release downloads are available from the v1.6.18 release page and v1.5.18 release page.

For additional context, consult the Containerd Security Advisory and related Moby Security Advisory.

Workarounds

  • Avoid using USER $USERNAME Dockerfile instruction in container definitions
  • Set the container entrypoint to use su for proper supplementary group setup: ENTRYPOINT ["su", "-", "user"]
  • Implement additional access controls at the application level that do not rely solely on group-based permissions
  • Consider using network policies and other isolation mechanisms to limit the impact of container compromise
bash
# Configuration example - Workaround Dockerfile entrypoint
# Instead of using: USER username
# Use the following entrypoint pattern:
ENTRYPOINT ["su", "-", "user"]

# Verify containerd version after patching
containerd --version
# Expected output should show version 1.6.18+ or 1.5.18+

# Recreate containers after updating containerd
# Example with crictl:
crictl stop <container_id>
crictl rm <container_id>
# Then recreate the container with your orchestration tool

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechContainerd

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.02%

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

  • GitHub Security Advisory

  • GitHub Security Advisory

  • Containerd Release v1.5.18

  • Containerd Release v1.6.18

  • Moby Security Advisory

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Benthams Gaze Blog on Container Vulnerability
  • Vendor Resources
  • Containerd Commit Log

  • Containerd Security Advisory
  • Related CVEs
  • CVE-2020-15257: Containerd Privilege Escalation Vulnerability

  • CVE-2025-47291: Containerd CRI DoS Vulnerability

  • CVE-2022-31030: Containerd CRI ExecSync DoS Vulnerability

  • CVE-2021-21334: Containerd Information Disclosure Flaw
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