CVE-2025-12801 Nfs-utils: rpc.mountd in the nfs-utils privilege escalation
An NFSv3 client can bypass export permissions and squash settings to access unauthorized subdirectories, leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-12801?
CVE-2025-12801 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 4 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2025-12801?
It affects 3 products.
Linux distribution packages (40)
libnfsidmap AlmaLinux:10 | All versions | 1:2.8.3-0.el10_1.3 |
libnfsidmap-devel AlmaLinux:10 | All versions | 1:2.8.3-0.el10_1.3 |
nfs-utils AlmaLinux:10 | All versions | 1:2.8.3-0.el10_1.3 |
nfs-utils-coreos AlmaLinux:10 | All versions | 1:2.8.3-0.el10_1.3 |
nfsv4-client-utils AlmaLinux:10 | All versions | 1:2.8.3-0.el10_1.3 |
libnfsidmap AlmaLinux:8 | All versions | 1:2.3.3-68.el8_10 |
libnfsidmap-devel AlmaLinux:8 | All versions | 1:2.3.3-68.el8_10 |
nfs-utils AlmaLinux:8 | All versions | 1:2.3.3-68.el8_10 |
libnfsidmap AlmaLinux:9 | All versions | 1:2.5.4-38.el9_7.3 |
libnfsidmap-devel AlmaLinux:9 | All versions | 1:2.5.4-38.el9_7.3 |
nfs-utils AlmaLinux:9 | All versions | 1:2.5.4-38.el9_7.3 |
nfs-utils-coreos AlmaLinux:9 | All versions | 1:2.5.4-38.el9_7.3 |
nfsv4-client-utils AlmaLinux:9 | All versions | 1:2.5.4-38.el9_7.3 |
libnfsidmap Red Hat:enterprise_linux:10.1 | All versions | 1:2.8.3-0.el10_1.3 |
libnfsidmap-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 1:2.8.3-0.el10_1.3 |
libnfsidmap-devel Red Hat:enterprise_linux:10.1 | All versions | 1:2.8.3-0.el10_1.3 |
nfs-utils Red Hat:enterprise_linux:10.1 | All versions | 1:2.8.3-0.el10_1.3 |
nfs-utils-coreos Red Hat:enterprise_linux:10.1 | All versions | 1:2.8.3-0.el10_1.3 |
nfs-utils-coreos-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 1:2.8.3-0.el10_1.3 |
nfs-utils-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 1:2.8.3-0.el10_1.3 |
nfs-utils-debugsource Red Hat:enterprise_linux:10.1 | All versions | 1:2.8.3-0.el10_1.3 |
nfsv4-client-utils Red Hat:enterprise_linux:10.1 | All versions | 1:2.8.3-0.el10_1.3 |
nfsv4-client-utils-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 1:2.8.3-0.el10_1.3 |
libnfsidmap Red Hat:enterprise_linux:8::baseos | All versions | 1:2.3.3-68.el8_10 |
libnfsidmap-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 1:2.3.3-68.el8_10 |
nfs-utils Red Hat:enterprise_linux:8::baseos | All versions | 1:2.3.3-68.el8_10 |
nfs-utils-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 1:2.3.3-68.el8_10 |
nfs-utils-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 1:2.3.3-68.el8_10 |
libnfsidmap-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 1:2.3.3-68.el8_10 |
libnfsidmap-devel Red Hat:enterprise_linux:8::crb | All versions | 1:2.3.3-68.el8_10 |
nfs-utils-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 1:2.3.3-68.el8_10 |
nfs-utils-debugsource Red Hat:enterprise_linux:8::crb | All versions | 1:2.3.3-68.el8_10 |
libnfsidmap-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:2.5.4-38.el9_7.3 |
nfs-utils-coreos Red Hat:enterprise_linux:9::appstream | All versions | 1:2.5.4-38.el9_7.3 |
nfs-utils-coreos-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:2.5.4-38.el9_7.3 |
nfs-utils-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:2.5.4-38.el9_7.3 |
nfs-utils-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 1:2.5.4-38.el9_7.3 |
nfsv4-client-utils Red Hat:enterprise_linux:9::appstream | All versions | 1:2.5.4-38.el9_7.3 |
nfsv4-client-utils-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:2.5.4-38.el9_7.3 |
libnfsidmap Red Hat:enterprise_linux:9::baseos | All versions | 1:2.5.4-38.el9_7.3 |
Products include Linux-Nfs Nfs-Utils, Redhat Enterprise Linux, Redhat Openshift Container Platform.
How do I fix CVE-2025-12801?
Apply the vendor's patch.
Is CVE-2025-12801 being exploited?
There is no known exploitation of CVE-2025-12801 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
Sources
Also known as ALSA-2026:3938, ALSA-2026:3939, ALSA-2026:3940, BELL-CVE-2025-12801, CLSA-2026-1773224214, CLSA-2026-1773311565 and 18 more.