CVE-2026-12505 Cifs-utils: local privilege escalation via forged cifs.spnego key description in cifs.upcall
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
16 packages: 11 fixed, 1 partially fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/cifs-utils(Debian 12) | = 2:7.0-2; = 2:7.0-2.1; = 2:7.1-1; = 2:7.2-1 +6 more | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| redhat openshift | < 4.22.9.8.202607220526-0; All versions | 4.22.9.8.202607220526-0 | Partially fixed |
| azure linux cifs-utils(Azure Linux 3.0) | < 7.6-1 | 7.6-1 | Fixed |
| debian/cifs-utils(Debian 13) | < 2:7.4-1+deb13u1; = 2:7.4-1 | 2:7.4-1+deb13u1 | Fixed |
| debian/cifs-utils(Debian 14) | < 2:7.8-1; = 2:7.4-1 | 2:7.8-1 | Fixed |
| redhat enterprise linux | < 0:7.0-5.el8_10; < 0:7.6-1.el10_2; < 0:7.6-2.el9_8; = 6 +1 more | 0:7.0-5.el8_10, 0:7.6-1.el10_2, 0:7.6-2.el9_8 | Fixed |
| redhat/cifs-utils(Red Hat enterprise_linux 10.2) | < 7.6-1.el10_2 | 7.6-1.el10_2 | Fixed |
| redhat/cifs-utils(Red Hat enterprise_linux 8) | < 7.0-5.el8_10 | 7.0-5.el8_10 | Fixed |
| redhat/cifs-utils(Red Hat enterprise_linux 9) | < 7.6-2.el9_8 | 7.6-2.el9_8 | Fixed |
| redhat/openshift/ose-rhel-coreos(Red Hat openshift 4.22 el9) | < 9:4.22.9.8.202607220526-0 | 9:4.22.9.8.202607220526-0 | Fixed |
| ubuntu/cifs-utils(Ubuntu 22.04) | < 2:6.14-1ubuntu0.6 | 2:6.14-1ubuntu0.6 | Fixed |
| ubuntu/cifs-utils(Ubuntu 24.04) | < 2:7.0-2ubuntu0.5 | 2:7.0-2ubuntu0.5 | Fixed |
| ubuntu/cifs-utils(Ubuntu 26.04) | < 2:7.4-1ubuntu0.26.04.3 | 2:7.4-1ubuntu0.26.04.3 | Fixed |
| redhat rhel els | = 6; = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | < 0:7.6-1.el10_2 | 0:7.6-1.el10_2 |
| redhat enterprise linux | < 0:7.0-5.el8_10 | 0:7.0-5.el8_10 |
| redhat enterprise linux | < 0:7.6-2.el9_8 | 0:7.6-2.el9_8 |
| redhat openshift | < 4.22.9.8.202607220526-0 | 4.22.9.8.202607220526-0 |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat openshift | All versions | No fix listed |
| redhat enterprise linux | = 6 | No fix listed |
| redhat enterprise linux | = 7 | No fix listed |
| redhat/cifs-utils(Red Hat:enterprise_linux:10.2) | < 7.6-1.el10_2 | 7.6-1.el10_2 |
| redhat/cifs-utils(Red Hat:enterprise_linux:8) | < 7.0-5.el8_10 | 7.0-5.el8_10 |
| redhat/cifs-utils(Red Hat:enterprise_linux:9) | < 7.6-2.el9_8 | 7.6-2.el9_8 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.22::el9) | < 9:4.22.9.8.202607220526-0 | 9:4.22.9.8.202607220526-0 |
| redhat/cifs-utils(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| debian/cifs-utils(Debian:12) | All versions | No fix listed |
| debian/cifs-utils(Debian:12) | = 2:7.0-2 | No fix listed |
| debian/cifs-utils(Debian:12) | = 2:7.0-2.1 | No fix listed |
| debian/cifs-utils(Debian:12) | = 2:7.1-1 | No fix listed |
| debian/cifs-utils(Debian:12) | = 2:7.2-1 | No fix listed |
| debian/cifs-utils(Debian:12) | = 2:7.2-2 | No fix listed |
| debian/cifs-utils(Debian:12) | = 2:7.3-1 | No fix listed |
| debian/cifs-utils(Debian:12) | = 2:7.4-1 | No fix listed |
| debian/cifs-utils(Debian:12) | = 2:7.8-1 | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/cifs-utils(Debian:12) | = 2:7.9-1 | No fix listed |
| debian/cifs-utils(Debian:13) | < 2:7.4-1+deb13u1 | 2:7.4-1+deb13u1 |
| debian/cifs-utils(Debian:13) | = 2:7.4-1 | No fix listed |
| debian/cifs-utils(Debian:14) | < 2:7.8-1 | 2:7.8-1 |
| debian/cifs-utils(Debian:14) | = 2:7.4-1 | No fix listed |
| ubuntu/cifs-utils(Ubuntu:22.04) | < 2:6.14-1ubuntu0.6 | 2:6.14-1ubuntu0.6 |
| ubuntu/cifs-utils(Ubuntu:24.04) | < 2:7.0-2ubuntu0.5 | 2:7.0-2ubuntu0.5 |
| ubuntu/cifs-utils(Ubuntu:26.04) | < 2:7.4-1ubuntu0.26.04.3 | 2:7.4-1ubuntu0.26.04.3 |
| azure linux cifs-utils(Azure Linux:3.0) | < 7.6-1 | 7.6-1 |
References
- RHSA-2026:32990 patch vendor-advisory
- RHSA-2026:39575 patch vendor-advisory
- RHSA-2026:39576 patch vendor-advisory
- RHSA-2026:44232 patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2489805 issue-tracking
- git.samba.org
- security.access.redhat.com
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-12505 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8496-1 vendor-advisory
- USN-8496-2 vendor-advisory
- USN-8496-3 vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-37834 third-party-advisory