CVE-2026-12505 Cifs-utils: local privilege escalation via forged cifs.spnego key description in cifs.upcall
Local attackers can escalate privileges to root by exploiting a flaw in cifs.upcall that allows loading malicious NSS modules via crafted key requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-12505?
CVE-2026-12505 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 18 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-250
Which versions are affected by CVE-2026-12505?
Linux distribution packages (40)
cifs-utils AlmaLinux:8 | All versions | 7.0-5.el8_10 |
cifs-utils-devel AlmaLinux:8 | All versions | 7.0-5.el8_10 |
pam_cifscreds AlmaLinux:8 | All versions | 7.0-5.el8_10 |
cifs-utils AlmaLinux:9 | All versions | 7.6-2.el9_8 |
cifs-utils-devel AlmaLinux:9 | All versions | 7.6-2.el9_8 |
pam_cifscreds AlmaLinux:9 | All versions | 7.6-2.el9_8 |
cifs-utils Red Hat:enterprise_linux:10.2 | All versions | 0:7.6-1.el10_2 |
cifs-utils-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:7.6-1.el10_2 |
cifs-utils-debugsource Red Hat:enterprise_linux:10.2 | All versions | 0:7.6-1.el10_2 |
cifs-utils-devel Red Hat:enterprise_linux:10.2 | All versions | 0:7.6-1.el10_2 |
pam_cifscreds Red Hat:enterprise_linux:10.2 | All versions | 0:7.6-1.el10_2 |
pam_cifscreds-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:7.6-1.el10_2 |
cifs-utils Red Hat:enterprise_linux:8::baseos | All versions | 0:7.0-5.el8_10 |
cifs-utils-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:7.0-5.el8_10 |
cifs-utils-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:7.0-5.el8_10 |
pam_cifscreds Red Hat:enterprise_linux:8::baseos | All versions | 0:7.0-5.el8_10 |
pam_cifscreds-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:7.0-5.el8_10 |
cifs-utils-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:7.0-5.el8_10 |
cifs-utils-debugsource Red Hat:enterprise_linux:8::crb | All versions | 0:7.0-5.el8_10 |
cifs-utils-devel Red Hat:enterprise_linux:8::crb | All versions | 0:7.0-5.el8_10 |
pam_cifscreds-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:7.0-5.el8_10 |
cifs-utils-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:7.6-2.el9_8 |
cifs-utils-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:7.6-2.el9_8 |
pam_cifscreds Red Hat:enterprise_linux:9::appstream | All versions | 0:7.6-2.el9_8 |
pam_cifscreds-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:7.6-2.el9_8 |
cifs-utils Red Hat:enterprise_linux:9::baseos | All versions | 0:7.6-2.el9_8 |
cifs-utils-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:7.6-2.el9_8 |
cifs-utils-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:7.6-2.el9_8 |
pam_cifscreds-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:7.6-2.el9_8 |
cifs-utils-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:7.6-2.el9_8 |
cifs-utils-debugsource Red Hat:enterprise_linux:9::crb | All versions | 0:7.6-2.el9_8 |
cifs-utils-devel Red Hat:enterprise_linux:9::crb | All versions | 0:7.6-2.el9_8 |
pam_cifscreds-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:7.6-2.el9_8 |
cifs-utils Rocky Linux:10 | All versions | 0:7.6-1.el10_2 |
cifs-utils Rocky Linux:8 | All versions | 0:7.0-5.el8_10 |
cifs-utils Rocky Linux:9 | All versions | 0:7.6-2.el9_8 |
cifs-utils SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 6.15-150400.3.21.1 |
cifs-utils SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 6.15-150400.3.21.1 |
cifs-utils SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 6.15-150400.3.21.1 |
cifs-utils SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 6.15-150400.3.21.1 |
How do I fix CVE-2026-12505?
Apply the vendor's patch.
Is CVE-2026-12505 being exploited?
There is no known exploitation of CVE-2026-12505 in the wild and no public exploit code.
Sources
Also known as ALSA-2026:39575, ALSA-2026:39576, AZL-91131, CLSA-2026-1784560784, CLSA-2026-1784818499, DEBIAN-CVE-2026-12505 and 16 more.