CVE-2026-12505 Cifs-utils: local privilege escalation via forged cifs.spnego key description in cifs.upcall

High 7.8 Published Updated

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:8All versions7.0-5.el8_10
cifs-utils-devel AlmaLinux:8All versions7.0-5.el8_10
pam_cifscreds AlmaLinux:8All versions7.0-5.el8_10
cifs-utils AlmaLinux:9All versions7.6-2.el9_8
cifs-utils-devel AlmaLinux:9All versions7.6-2.el9_8
pam_cifscreds AlmaLinux:9All versions7.6-2.el9_8
cifs-utils Red Hat:enterprise_linux:10.2All versions0:7.6-1.el10_2
cifs-utils-debuginfo Red Hat:enterprise_linux:10.2All versions0:7.6-1.el10_2
cifs-utils-debugsource Red Hat:enterprise_linux:10.2All versions0:7.6-1.el10_2
cifs-utils-devel Red Hat:enterprise_linux:10.2All versions0:7.6-1.el10_2
pam_cifscreds Red Hat:enterprise_linux:10.2All versions0:7.6-1.el10_2
pam_cifscreds-debuginfo Red Hat:enterprise_linux:10.2All versions0:7.6-1.el10_2
cifs-utils Red Hat:enterprise_linux:8::baseosAll versions0:7.0-5.el8_10
cifs-utils-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:7.0-5.el8_10
cifs-utils-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:7.0-5.el8_10
pam_cifscreds Red Hat:enterprise_linux:8::baseosAll versions0:7.0-5.el8_10
pam_cifscreds-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:7.0-5.el8_10
cifs-utils-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:7.0-5.el8_10
cifs-utils-debugsource Red Hat:enterprise_linux:8::crbAll versions0:7.0-5.el8_10
cifs-utils-devel Red Hat:enterprise_linux:8::crbAll versions0:7.0-5.el8_10
pam_cifscreds-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:7.0-5.el8_10
cifs-utils-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:7.6-2.el9_8
cifs-utils-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:7.6-2.el9_8
pam_cifscreds Red Hat:enterprise_linux:9::appstreamAll versions0:7.6-2.el9_8
pam_cifscreds-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:7.6-2.el9_8
cifs-utils Red Hat:enterprise_linux:9::baseosAll versions0:7.6-2.el9_8
cifs-utils-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:7.6-2.el9_8
cifs-utils-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:7.6-2.el9_8
pam_cifscreds-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:7.6-2.el9_8
cifs-utils-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:7.6-2.el9_8
cifs-utils-debugsource Red Hat:enterprise_linux:9::crbAll versions0:7.6-2.el9_8
cifs-utils-devel Red Hat:enterprise_linux:9::crbAll versions0:7.6-2.el9_8
pam_cifscreds-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:7.6-2.el9_8
cifs-utils Rocky Linux:10All versions0:7.6-1.el10_2
cifs-utils Rocky Linux:8All versions0:7.0-5.el8_10
cifs-utils Rocky Linux:9All versions0:7.6-2.el9_8
cifs-utils SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions6.15-150400.3.21.1
cifs-utils SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions6.15-150400.3.21.1
cifs-utils SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions6.15-150400.3.21.1
cifs-utils SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions6.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.

Is CVE-2026-12505 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free