Vulnerability · Published Jun 18, 2026 · Assigned by redhat

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

High 7.8

In plain English

A high-severity security flaw in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 95.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8cifs-utils7.0-5.el8_10ALSA-2026:39575
AlmaLinux:9cifs-utils7.6-2.el9_8ALSA-2026:39576
AlmaLinux:8cifs-utils-devel7.0-5.el8_10ALSA-2026:39575
AlmaLinux:9cifs-utils-devel7.6-2.el9_8ALSA-2026:39576
AlmaLinux:8pam_cifscreds7.0-5.el8_10ALSA-2026:39575
AlmaLinux:9pam_cifscreds7.6-2.el9_8ALSA-2026:39576
Debian:12cifs-utilsno fix listedDEBIAN-CVE-2026-12505
Debian:13cifs-utils2:7.4-1+deb13u1DEBIAN-CVE-2026-12505
Debian:14cifs-utils2:7.8-1DEBIAN-CVE-2026-12505
Rocky Linux:10cifs-utils0:7.6-1.el10_2RLSA-2026:32990
Rocky Linux:8cifs-utils0:7.0-5.el8_10RLSA-2026:39575
Rocky Linux:9cifs-utils0:7.6-2.el9_8RLSA-2026:39576
Ubuntu:22.04:LTScifs-utils2:6.14-1ubuntu0.6USN-8496-3
Ubuntu:22.04:LTScifs-utils2:6.14-1ubuntu0.6UBUNTU-CVE-2026-12505
Ubuntu:24.04:LTScifs-utils2:7.0-2ubuntu0.5USN-8496-3
Ubuntu:24.04:LTScifs-utils2:7.0-2ubuntu0.5UBUNTU-CVE-2026-12505
Ubuntu:25.10cifs-utilsno fix listedUBUNTU-CVE-2026-12505
Ubuntu:26.04:LTScifs-utils2:7.4-1ubuntu0.26.04.3UBUNTU-CVE-2026-12505
Ubuntu:26.04:LTScifs-utils2:7.4-1ubuntu0.26.04.3USN-8496-3

Affected products (as reported)

Weakness: CWE-250 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References