---
id: CVE-2025-12801
title: >-
  A vulnerability was recently discovered in the rpc.mountd daemon in the
  nfs-utils package for Linux, that allows a NFSv3 client to escalate the

  privileges assigned to it in the /etc/exports file at mount time
summary: >-
  A vulnerability was recently discovered in the rpc.mountd daemon in the
  nfs-utils package for Linux, that allows a NFSv3 client to escalate the

  privileges assigned to it in the /etc/exports file at mount time. In
  particular, it allows th…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-279
  - CWE-732
published: '2026-03-04'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12801'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:3938'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:3939'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:3940'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:3941'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:3942'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:5127'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:5606'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:5867'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:5873'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:5877'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2025-12801'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2413081'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00462
epssPercentile: 0.37311
ingestedAt: '2026-06-29T13:24:34.769Z'
---

## Overview

A vulnerability was recently discovered in the rpc.mountd daemon in the nfs-utils package for Linux, that allows a NFSv3 client to escalate the
privileges assigned to it in the /etc/exports file at mount time. In particular, it allows the client to access any subdirectory or subtree of an exported directory, regardless of the set file permissions, and regardless of any 'root_squash' or 'all_squash' attributes that would normally be expected to apply to that client.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
