CVE-2026-12505Cifs-utils: local privilege escalation via forged cifs.spnego key description in…
A flaw was found in the cifs-utils package where the cifs.upcall helper fails to securely drop its root privileges before looking up user information inside a user-controlled environment. A local, low privileged attacker can exploit this by using a crafted request_key payload to trick the root-owned helper into entering a custom environment (namespace) containing a malicious NSS module. This forces the system to load the attacker's controlled NSS Module and configuration, allowing them to execute arbitrary commands as the root user, elevating their privileges and fully compromising the system.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | cifs-utils | Fixed | 2:7.4-1ubuntu0.26.04.3 | UBUNTU-CVE-2026-12505 |
| Ubuntu 25.10 | cifs-utils | Will not fix The update for this issue introduced a regression, see: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/2159053… | UBUNTU-CVE-2026-12505 | |
| Ubuntu 24.04 | cifs-utils | Fixed | 2:7.0-2ubuntu0.5 | UBUNTU-CVE-2026-12505 |
| Ubuntu 22.04 | cifs-utils | Fixed | 2:6.14-1ubuntu0.6 | UBUNTU-CVE-2026-12505 |
| Ubuntu 20.04 | cifs-utils | Fix pending | UBUNTU-CVE-2026-12505 | |
| Ubuntu 18.04 | cifs-utils | Fix pending | UBUNTU-CVE-2026-12505 | |
| Ubuntu 16.04 | cifs-utils | Fix pending | UBUNTU-CVE-2026-12505 | |
| Ubuntu 14.04 | cifs-utils | Fix pending | UBUNTU-CVE-2026-12505 | |
| Debian 14 | cifs-utils | Fixed | 2:7.8-1 | DEBIAN-CVE-2026-12505 |
| Debian 13 | cifs-utils | Fixed | 2:7.4-1+deb13u1 | DEBIAN-CVE-2026-12505 |
| Debian 12 | cifs-utils | Fix pending | DEBIAN-CVE-2026-12505 | |
| Red Hat Enterprise Linux 10 | cifs-utils | Fixed | 0:7.6-1.el10_2 | RHSA-2026:32990 |
| Red Hat Enterprise Linux 10 | cifs-utils-devel | Fixed | 0:7.6-1.el10_2 | RHSA-2026:32990 |
| Red Hat Enterprise Linux 10 | pam_cifscreds | Fixed | 0:7.6-1.el10_2 | RHSA-2026:32990 |
| Red Hat Enterprise Linux 9 | cifs-utils | Fixed | 0:7.6-2.el9_8 | RHSA-2026:39576 |
| Red Hat Enterprise Linux 9 | cifs-utils-devel | Fixed | 0:7.6-2.el9_8 | RHSA-2026:39576 |
| Red Hat Enterprise Linux 9 | pam_cifscreds | Fixed | 0:7.6-2.el9_8 | RHSA-2026:39576 |
| Red Hat Enterprise Linux 8 | cifs-utils | Fixed | 0:7.0-5.el8_10 | RHSA-2026:39575 |
| Red Hat Enterprise Linux 8 | cifs-utils-devel | Fixed | 0:7.0-5.el8_10 | RHSA-2026:39575 |
| Red Hat Enterprise Linux 8 | pam_cifscreds | Fixed | 0:7.0-5.el8_10 | RHSA-2026:39575 |
| Red Hat Enterprise Linux 7 | cifs-utils | Not affected | ||
| Red Hat Enterprise Linux 7 | cifs-utils-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | cifs-utils | Will not fix Out of support scope | ||
| AlmaLinux 9 | cifs-utils | Fixed | 7.6-2.el9_8 | ALSA-2026:39576 |
| AlmaLinux 9 | cifs-utils-devel | Fixed | 7.6-2.el9_8 | ALSA-2026:39576 |
| AlmaLinux 9 | pam_cifscreds | Fixed | 7.6-2.el9_8 | ALSA-2026:39576 |
| AlmaLinux 8 | cifs-utils | Fixed | 7.0-5.el8_10 | ALSA-2026:39575 |
| AlmaLinux 8 | cifs-utils-devel | Fixed | 7.0-5.el8_10 | ALSA-2026:39575 |
| AlmaLinux 8 | pam_cifscreds | Fixed | 7.0-5.el8_10 | ALSA-2026:39575 |
| Rocky Linux 10 | cifs-utils | Fixed | 0:7.6-1.el10_2 | RLSA-2026:32990 |
| Rocky Linux 9 | cifs-utils | Fixed | 0:7.6-2.el9_8 | RLSA-2026:39576 |
| Rocky Linux 8 | cifs-utils | Fixed | 0:7.0-5.el8_10 | RLSA-2026:39575 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4.22
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Workaround: Red Hat is not aware of a practical temporary workaround that fully mitigates this issue or meets Red Hat Product Security's standards for usability, deployment, applicability, or stability. Customers are advised to apply the relevant security updates when they become available.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:32990 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:39575 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:39576 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:44232 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:32990
- https://access.redhat.com/errata/RHSA-2026:39575
- https://access.redhat.com/errata/RHSA-2026:39576
- https://access.redhat.com/errata/RHSA-2026:44232
- https://access.redhat.com/security/cve/CVE-2026-12505
- https://bugzilla.redhat.com/show_bug.cgi?id=2489805
- https://git.samba.org/?p=cifs-utils.git;a=commit;h=972c5b5ff95e3e812bc8daa72d0383654ab0dba7
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.