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-58713

CVE-2025-58713: Red Hat PAM Privilege Escalation Flaw

CVE-2025-58713 is a container privilege escalation vulnerability in Red Hat Process Automation Manager images. Attackers can exploit writable /etc/passwd permissions to gain root access. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: April 9, 2026

CVE-2025-58713 Overview

A container privilege escalation vulnerability has been identified in certain Red Hat Process Automation Manager images. This flaw originates from insecure file permissions applied during the container build process, specifically affecting the /etc/passwd file which is created with group-writable permissions. This misconfiguration enables attackers with container access to potentially escalate their privileges to root level.

Critical Impact

An attacker with command execution capability within an affected container can leverage root group membership to modify /etc/passwd and add a user with UID 0, achieving full root privileges within the container.

Affected Products

  • Red Hat Process Automation Manager container images

Discovery Timeline

  • April 8, 2026 - CVE-2025-58713 published to NVD
  • April 8, 2026 - Last updated in NVD database

Technical Details for CVE-2025-58713

Vulnerability Analysis

This vulnerability is classified as CWE-276 (Incorrect Default Permissions), representing a fundamental misconfiguration in the container build process. The security flaw stems from the /etc/passwd file being configured with group-writable permissions during the image build phase, which violates the principle of least privilege for sensitive system files.

The attack requires local access to the container and elevated privileges to execute. However, once these conditions are met, the impact is severe—an attacker gains the ability to fully compromise the container's user authentication system. The exploitation path involves modifying the passwd file to inject a new user entry with UID 0, effectively creating an alternative root account.

This type of vulnerability is particularly concerning in containerized environments where workloads may be shared or where container escape techniques could compound the initial privilege escalation.

Root Cause

The root cause is incorrect default permissions (CWE-276) applied to the /etc/passwd file during the container image build process. The file is created with group-writable permissions, allowing any user who is a member of the root group (but not necessarily the root user) to modify this critical authentication file.

In properly configured systems, /etc/passwd should have permissions of 644 (owner read/write, group read, others read). The vulnerability indicates the file was created with at least 664 permissions, enabling group write access.

Attack Vector

The attack vector is local, requiring the attacker to already have command execution capability within the affected container. The exploitation flow involves:

  1. The attacker gains shell access to an affected container, even as a non-root user
  2. The attacker identifies their membership in the root group (typically GID 0)
  3. Leveraging the group-writable permissions on /etc/passwd, the attacker appends a new user entry
  4. The malicious entry specifies UID 0, granting root-equivalent privileges
  5. The attacker can then use su or similar utilities to switch to the newly created root user

The vulnerability mechanism involves exploiting the misconfigured file permissions on /etc/passwd. An attacker with root group membership can directly modify this file to add an entry with UID 0, bypassing normal privilege restrictions. For detailed technical information, refer to the Red Hat CVE-2025-58713 Advisory.

Detection Methods for CVE-2025-58713

Indicators of Compromise

  • Unexpected modifications to /etc/passwd file within containers, particularly new user entries with UID 0
  • Audit logs showing write operations to /etc/passwd by non-root users
  • New user accounts appearing in containers that were not part of the original image
  • Process execution logs showing privilege escalation sequences (su, sudo) to unexpected accounts

Detection Strategies

  • Implement file integrity monitoring (FIM) on critical authentication files including /etc/passwd, /etc/shadow, and /etc/group
  • Monitor container audit logs for unauthorized file modifications using tools like auditd or container-native logging
  • Deploy runtime security solutions that detect privilege escalation attempts within containers
  • Use container image scanning to identify images with incorrect file permissions before deployment

Monitoring Recommendations

  • Configure alerts for any write operations to /etc/passwd in production containers
  • Implement continuous monitoring for user account creation events within containers
  • Enable detailed audit logging for authentication-related files and privilege changes
  • Review container images during CI/CD pipeline for permission misconfigurations using tools like Trivy or Grype

How to Mitigate CVE-2025-58713

Immediate Actions Required

  • Audit all deployed Red Hat Process Automation Manager container images for the vulnerable file permissions
  • Check /etc/passwd permissions using ls -la /etc/passwd and verify they are set to 644 or more restrictive
  • Update to patched container images when available from Red Hat
  • Implement runtime security controls to prevent unauthorized modifications to system files

Patch Information

Red Hat has acknowledged this vulnerability. Organizations should monitor the Red Hat CVE-2025-58713 Advisory and Red Hat Bug Report #2394419 for updates regarding patched container images. Apply updated images as they become available from Red Hat's container registry.

Workarounds

  • Manually correct the /etc/passwd file permissions in running containers: chmod 644 /etc/passwd
  • Rebuild affected container images with a step that explicitly sets correct permissions on authentication files
  • Implement read-only root filesystem where feasible to prevent runtime modifications
  • Use Pod Security Policies or Pod Security Standards to restrict container capabilities and prevent privilege escalation
bash
# Verify and fix passwd file permissions in container
chmod 644 /etc/passwd
chmod 644 /etc/group
ls -la /etc/passwd /etc/group

# Verify no unauthorized users with UID 0 exist
awk -F: '$3 == 0 {print $1}' /etc/passwd

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechRed Hat

  • 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-58713 Advisory

  • Red Hat Bug Report #2394419
  • Latest CVEs
  • CVE-2026-46333: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-2586: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-2587: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-45255: FreeBSD bsdinstall/bsdconfig RCE 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