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

CVE-2025-12801: Linux NFS Utils Privilege Escalation Flaw

CVE-2025-12801 is a privilege escalation vulnerability in the rpc.mountd daemon of Linux nfs-utils that allows NFSv3 clients to bypass export restrictions and access controls. This article covers technical details, impact, and mitigation.

Published: March 6, 2026

CVE-2025-12801 Overview

A privilege escalation vulnerability was discovered in the rpc.mountd daemon within the nfs-utils package for Linux. This vulnerability allows NFSv3 clients to escalate privileges assigned to them in the /etc/exports file at mount time. Specifically, an attacker can exploit this flaw to access any subdirectory or subtree of an exported directory, regardless of the configured file permissions and bypassing root_squash or all_squash attributes that would normally restrict access.

Critical Impact

NFSv3 clients can bypass file permission controls and root_squash/all_squash security attributes, potentially gaining unauthorized access to sensitive files and directories on NFS-exported filesystems.

Affected Products

  • nfs-utils package for Linux (rpc.mountd daemon)
  • Linux systems with NFSv3 exports configured
  • Systems relying on root_squash or all_squash for access control

Discovery Timeline

  • 2026-03-04 - CVE-2025-12801 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2025-12801

Vulnerability Analysis

This vulnerability is classified under CWE-279 (Incorrect Execution-Assigned Permissions), indicating a fundamental flaw in how the rpc.mountd daemon enforces permission assignments during the NFS mount process. The vulnerability affects the NFSv3 protocol implementation and allows authenticated clients to circumvent the security boundaries established through /etc/exports configuration.

When an NFS share is exported with security attributes such as root_squash (which maps the root user to the anonymous user) or all_squash (which maps all users to anonymous), these controls are intended to prevent privilege escalation. However, due to this flaw, a malicious NFSv3 client can bypass these restrictions and traverse into subdirectories beyond their authorized scope, effectively escalating their access privileges.

The vulnerability has a network attack vector, meaning it can be exploited by any authenticated client that can connect to the NFS server over the network. The low attack complexity makes this vulnerability particularly concerning for environments that rely heavily on NFS for file sharing.

Root Cause

The root cause lies in improper permission validation within the rpc.mountd daemon during the mount request handling process. The daemon fails to correctly enforce the permission boundaries defined in /etc/exports when processing NFSv3 client requests, allowing clients to traverse directory structures and access files beyond their authorized mount points. This represents a failure in the execution-assigned permissions model (CWE-279).

Attack Vector

The attack is network-based and requires low-privileged authentication to the NFS server. An attacker with legitimate NFSv3 client access can exploit this vulnerability by crafting mount requests that bypass the configured export restrictions. The exploitation does not require user interaction, making it suitable for automated attacks against vulnerable NFS infrastructure.

The attack scenario involves:

  1. An attacker establishes a legitimate NFSv3 connection to the target server
  2. The attacker issues mount requests that target subdirectories outside their authorized export path
  3. Due to the vulnerability, the rpc.mountd daemon grants access despite root_squash or all_squash configurations
  4. The attacker gains unauthorized read access to sensitive files and directories

Detection Methods for CVE-2025-12801

Indicators of Compromise

  • Unexpected NFS mount requests targeting subdirectories outside normal export boundaries
  • Anomalous file access patterns from NFSv3 clients accessing directories they shouldn't have permission to view
  • Log entries showing successful mounts to restricted subtrees despite export restrictions
  • Increased NFS traffic from clients performing directory traversal operations

Detection Strategies

  • Monitor /var/log/messages or journal logs for unusual rpc.mountd activity and mount requests
  • Implement audit rules on NFS-exported directories to track unauthorized access attempts
  • Deploy network monitoring to detect anomalous NFSv3 protocol behavior and unexpected mount patterns
  • Use SentinelOne Singularity platform to monitor for suspicious file system access on NFS servers

Monitoring Recommendations

  • Enable verbose logging for rpc.mountd to capture detailed mount request information
  • Configure auditd rules to monitor access to sensitive directories within NFS exports
  • Implement network segmentation to limit NFSv3 client connectivity to authorized hosts only
  • Review NFS export logs regularly for clients accessing subdirectories outside their designated mount points

How to Mitigate CVE-2025-12801

Immediate Actions Required

  • Update nfs-utils to the latest patched version available from your Linux distribution
  • Review all /etc/exports configurations and ensure exports are as restrictive as possible
  • Consider temporarily disabling NFSv3 in favor of NFSv4 if backward compatibility permits
  • Implement network-level access controls to restrict which hosts can connect to NFS services
  • Audit current NFS mounts and access patterns to identify potential exploitation

Patch Information

Red Hat has released security errata RHSA-2026:3938 addressing this vulnerability. Organizations should consult their Linux distribution's security advisories for updated nfs-utils packages. Additional details are available from Red Hat's CVE-2025-12801 page and the associated bug report.

Workarounds

  • Migrate to NFSv4 which uses a different authentication and authorization model not affected by this vulnerability
  • Use firewall rules to restrict NFS port access (TCP/UDP 2049, portmapper ports) to trusted clients only
  • Implement more granular export definitions with specific subdirectory exports rather than parent directory exports
  • Enable Kerberos authentication for NFS to add an additional security layer
bash
# Example: Restrict NFS access with firewall rules
# Allow NFS only from trusted network segment
iptables -A INPUT -p tcp --dport 2049 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p udp --dport 2049 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 2049 -j DROP
iptables -A INPUT -p udp --dport 2049 -j DROP

# Verify current NFS exports configuration
exportfs -v

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechNfs Utils

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-279
  • Technical References
  • Red Hat Security Errata RHSA-2026:3938

  • Red Hat CVE-2025-12801 Details

  • Red Hat Bug Report #2413081
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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