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-2025-27612

CVE-2025-27612: libcontainer Privilege Escalation Flaw

CVE-2025-27612 is a privilege escalation vulnerability in libcontainer affecting tenant container creation. Improper capability handling allows elevation of privileges. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2025-27612 Overview

CVE-2025-27612 affects libcontainer, a Rust library used by the youki container runtime project for container lifecycle control. The flaw resides in the tenant builder logic, which constructs a tenant container that joins an existing container's namespaces. When callers supply a list of Linux capabilities to add to the tenant, the builder writes those values into the inherited capability set without proper restriction. This behavior parallels CVE-2022-29162 in runc and can lead to elevation of capabilities inside the tenant process. The issue is fixed in libcontainer 0.5.3.

Critical Impact

A local actor invoking the tenant builder API can cause excessive Linux capabilities to be granted to a tenant container, weakening the security boundary of the host and co-tenant workloads.

Affected Products

  • youki libcontainer crate prior to version 0.5.3
  • Downstream projects consuming libcontainer directly and using the tenant builder
  • The youki binary itself is not affected

Discovery Timeline

  • 2025-03-21 - CVE-2025-27612 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-27612

Vulnerability Analysis

The vulnerability is classified as Incorrect Default Permissions [CWE-276]. The tenant builder in libcontainer allows API consumers to pass an additional list of capabilities to be assigned to a tenant container that attaches to an existing container's namespaces. The intent is to extend the tenant's effective privileges to perform a specific operation. The implementation, however, writes the supplied capabilities into the tenant's inherited capability set unconditionally. Inherited capabilities propagate across execve calls when a file capability mask permits them, which broadens the privilege scope beyond what the caller intended. Because the tenant container shares namespaces with the main container, the elevated capabilities operate within that shared security context.

Root Cause

The defect is in the tenant builder source at crates/libcontainer/src/container/tenant_builder.rs. The code path adds caller-supplied capabilities to the main container's capability sets when a spec is present, and otherwise assigns the supplied list as the tenant's capability set. In both branches the inherited set is populated, which is the elevation primitive. See the youki tenant_builder.rs reference and the fix commit.

Attack Vector

Exploitation requires local access and the ability to invoke the tenant builder API of a vulnerable libcontainer consumer. An actor able to influence the capability list passed to the builder can cause the resulting tenant process to receive elevated inherited capabilities. The runtime impact depends on which capabilities are granted and how the tenant interacts with files carrying file capabilities. Refer to the youki GHSA-5w4j-f78p-4wh9 advisory for the upstream description.

Detection Methods for CVE-2025-27612

Indicators of Compromise

  • Tenant container processes whose /proc/<pid>/statusCapInh mask is broader than expected for the workload.
  • Build manifests or service code that depend on libcontainer versions earlier than 0.5.3.
  • Unexpected execution of privileged binaries inside containers created through the tenant builder API.

Detection Strategies

  • Inventory Rust dependencies across container tooling and identify projects pinned to libcontainer < 0.5.3.
  • Audit calls to the tenant builder for use of with_capabilities or equivalent parameters and review the supplied capability lists.
  • Compare runtime capability sets of tenant containers against their declared OCI spec to detect drift.

Monitoring Recommendations

  • Collect Linux audit records for capset and execve events from containerized workloads and alert on inherited capabilities outside an approved baseline.
  • Track exec events that gain capabilities not present in the parent's effective set.
  • Monitor for upgrades and downgrades of the libcontainer crate in CI artifact metadata.

How to Mitigate CVE-2025-27612

Immediate Actions Required

  • Upgrade libcontainer to version 0.5.3 or later in all dependent projects and rebuild affected binaries.
  • Review every code path that invokes the tenant builder and restrict the capability list to the minimum required.
  • Re-deploy services that embed libcontainer so running processes use the patched library.

Patch Information

The fix is included in libcontainer 0.5.3 and is delivered through the commit referenced in the youki commit history. The patch corrects how the tenant builder assigns capabilities so that the inherited set is not populated unconditionally. Additional context is published in the youki GHSA-5w4j-f78p-4wh9 advisory and the related runc GHSA-f3fp-gc8g-vw66 advisory.

Workarounds

  • Avoid passing additional capabilities to the tenant builder until the patched version is deployed.
  • Restrict access to APIs and CLI wrappers that expose the tenant builder to non-privileged local users.
  • Apply file capability hygiene by removing unnecessary file capabilities from binaries inside container images to limit the impact of an elevated inherited set.

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLibcontainer

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.05%

  • 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-276
  • Technical References
  • GitHub Security Advisory

  • GitHub Code Reference

  • GitHub Commit History

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-49199: Acer Predator Connect W6x Firmware RCE Flaw

  • CVE-2026-46344: Openquantumsafe Liboqs DOS Vulnerability

  • CVE-2026-44518: Openquantumsafe Liboqs DoS Vulnerability

  • CVE-2026-42951: MacGregor VDR Information Disclosure Flaw
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