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
    • 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-57853

CVE-2025-57853: Web Terminal Privilege Escalation Flaw

CVE-2025-57853 is a container privilege escalation vulnerability in Web Terminal images caused by group-writable /etc/passwd permissions. Attackers can gain root access. Learn about technical details, impact, and mitigations.

Published: April 10, 2026

CVE-2025-57853 Overview

A container privilege escalation flaw was discovered in certain Web Terminal images. This vulnerability stems from improper file permissions where the /etc/passwd file is created with group-writable permissions during the container build process. Under specific conditions, an attacker who can execute commands within an affected container—even as a non-root user—can leverage their membership in the root group to modify the /etc/passwd file. This exploitation path allows the attacker to add a new user with any arbitrary UID, including UID 0, ultimately leading to full root privileges within the container.

Critical Impact

Local attackers with command execution capabilities in affected containers can escalate to root privileges by manipulating the group-writable /etc/passwd file, potentially compromising the entire container environment.

Affected Products

  • Web Terminal container images with group-writable /etc/passwd permissions
  • Container deployments where non-root users are members of the root group
  • Affected container builds created with insecure file permission defaults

Discovery Timeline

  • 2026-04-08 - CVE-2025-57853 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2025-57853

Vulnerability Analysis

This vulnerability is classified under CWE-276 (Incorrect Default Permissions), a common weakness where software sets insecure permissions during installation or configuration. In this case, the container build process creates the /etc/passwd file with permissions that allow group write access. When a non-root user within the container belongs to the root group (GID 0), they inherit the ability to modify this critical system file.

The attack requires local access to execute commands within the container and depends on the user being a member of the root group. While these conditions narrow the attack surface, containerized environments often run applications with users that are members of the root group for various operational reasons, making this vulnerability relevant in many deployment scenarios.

Root Cause

The root cause is the creation of /etc/passwd with group-writable permissions (e.g., 0664 or similar) during the container image build process. In Linux systems, the /etc/passwd file should typically have permissions of 0644 (owner read/write, group and others read-only). The group-writable permission allows any user who is a member of the file's group (in this case, the root group) to modify its contents.

Attack Vector

The attack requires local access to the container with command execution capabilities. An attacker who has gained a foothold in the container—through legitimate access, a compromised application, or another vulnerability—can check their group membership and the permissions on /etc/passwd. If they are a member of the root group and the file is group-writable, they can append a new user entry with UID 0 to the file, then use su to switch to that user and gain root privileges within the container.

The attack chain typically involves:

  1. Verifying group membership using the id command
  2. Checking /etc/passwd permissions with ls -la /etc/passwd
  3. Appending a new root-level user entry to the file
  4. Switching to the newly created user with su

Detection Methods for CVE-2025-57853

Indicators of Compromise

  • Unexpected modifications to /etc/passwd within container filesystems
  • New user accounts with UID 0 that were not part of the original image
  • Unusual su or user-switching activity within container logs
  • Changes to file permissions on critical system files

Detection Strategies

  • Monitor container runtime for file modification events on /etc/passwd
  • Implement file integrity monitoring (FIM) on critical system files within containers
  • Review container image build processes for proper permission handling
  • Audit running containers for users with root group membership who should not have it

Monitoring Recommendations

  • Enable audit logging for file modifications in container environments
  • Set up alerts for any write operations to /etc/passwd in production containers
  • Monitor for privilege escalation patterns such as su usage following file modifications
  • Implement container-aware security monitoring through SentinelOne Singularity Cloud Workload Security

How to Mitigate CVE-2025-57853

Immediate Actions Required

  • Audit all Web Terminal container images for group-writable /etc/passwd files
  • Rebuild affected container images with correct file permissions (chmod 644 /etc/passwd)
  • Review user group assignments within containers to minimize root group membership
  • Implement runtime security controls to detect and prevent /etc/passwd modifications

Patch Information

Refer to the Red Hat CVE-2025-57853 Advisory for official guidance and patch availability. Additional technical details can be found in Red Hat Bug Report #2391106. Organizations should update to patched container images as they become available from their respective vendors.

Workarounds

  • Manually fix permissions in running containers: chmod 644 /etc/passwd
  • Remove unnecessary users from the root group within container images
  • Implement read-only root filesystems where possible to prevent runtime modifications
  • Use container security policies to block writes to sensitive system files
  • Consider using immutable container configurations with security-hardened base images
bash
# Configuration example
# Fix /etc/passwd permissions in Dockerfile
RUN chmod 644 /etc/passwd

# Verify correct permissions in running container
ls -la /etc/passwd
# Expected output: -rw-r--r-- 1 root root ... /etc/passwd

# Check for users with root group membership
getent group root

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechN/A

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-276
  • Technical References
  • Red Hat CVE-2025-57853

  • Red Hat Bug Report #2391106
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer 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