---
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
vendor: redhat
product: openshift_container_platform
affected:
  - openshift_container_platform = 4.0
  - enterprise_linux = 6.0
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux = 10.0
  - nfs-utils
patched:
  - openshift_container_platform 4.16
  - openshift_container_platform 4.17
  - openshift_container_platform 4.18
  - openshift_container_platform 4.19
  - enterprise_linux_appstream_v_10
  - enterprise_linux_appstream_eus_v_9_4
  - enterprise_linux_appstream_eus_v_9_6
  - enterprise_linux_appstream_v_9
  - enterprise_linux_baseos_v_10
  - enterprise_linux_baseos_v_8
  - enterprise_linux_baseos_eus_v_9_4
  - enterprise_linux_baseos_eus_v_9_6
  - enterprise_linux_baseos_v_9
  - enterprise_linux_codeready_linux_builder_v_10
  - enterprise_linux_crb_v_8
  - codeready_linux_builder_eus_v_9_4
  - codeready_linux_builder_eus_v_9_6
  - enterprise_linux_codeready_linux_builder_v_9
  - ceph_storage 8
published: '2026-03-04'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T12:16:31.340'
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
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-12801.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2025-12801'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12801'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.0048
epssPercentile: 0.41244
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-03-04T16:16:10.569638Z'
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.

## Affected

- `openshift_container_platform = 4.0`
- `enterprise_linux = 6.0`
- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux = 10.0`
- `nfs-utils`

## Remediation

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

## Vendor advisories

- **RHSA-2026:5873** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.16 · released 2026-04-02 · [advisory](https://access.redhat.com/errata/RHSA-2026:5873)
- **RHSA-2026:5867** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.17 · released 2026-04-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:5867)
- **RHSA-2026:5127** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.18 · released 2026-03-25 · [advisory](https://access.redhat.com/errata/RHSA-2026:5127)
- **RHSA-2026:5877** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.19 · released 2026-04-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:5877)
- **RHSA-2026:3939** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) · released 2026-03-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:3939)
- **RHSA-2026:3942** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.4), Red Hat Enterprise Linux BaseOS EUS (v.9.4), Red Hat CodeReady Linux Builder EUS (v.9.4) · released 2026-03-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:3942)
- **RHSA-2026:3941** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6), Red Hat Enterprise Linux BaseOS EUS (v.9.6), Red Hat CodeReady Linux Builder EUS (v.9.6) · released 2026-03-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:3941)
- **RHSA-2026:3940** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux BaseOS (v. 9), Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) · released 2026-03-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:3940)
- **RHSA-2026:3938** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 8), Red Hat Enterprise Linux CRB (v. 8) · released 2026-03-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:3938)
- **RHSA-2026:5606** · Red Hat · fixed in: Red Hat Ceph Storage 8 · released 2026-03-24 · [advisory](https://access.redhat.com/errata/RHSA-2026:5606)
- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat OpenShift Container Platform 4, Red Hat Enterprise Linux 7 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-12801.json)
