CVEfocus › CVE database › CVE-2026-12505

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

CVSS 7.8 HighEPSS 0.2% (higher than 5% of CVEs)Published 2026-06-18Updated 2026-11-04Assigner: redhat

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.

CWE-250

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

23Fixed
5Fix pending
2Will not fix
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04cifs-utilsFixed2:7.4-1ubuntu0.26.04.3UBUNTU-CVE-2026-12505
Ubuntu 25.10cifs-utilsWill 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.04cifs-utilsFixed2:7.0-2ubuntu0.5UBUNTU-CVE-2026-12505
Ubuntu 22.04cifs-utilsFixed2:6.14-1ubuntu0.6UBUNTU-CVE-2026-12505
Ubuntu 20.04cifs-utilsFix pendingUBUNTU-CVE-2026-12505
Ubuntu 18.04cifs-utilsFix pendingUBUNTU-CVE-2026-12505
Ubuntu 16.04cifs-utilsFix pendingUBUNTU-CVE-2026-12505
Ubuntu 14.04cifs-utilsFix pendingUBUNTU-CVE-2026-12505
Debian 14cifs-utilsFixed2:7.8-1DEBIAN-CVE-2026-12505
Debian 13cifs-utilsFixed2:7.4-1+deb13u1DEBIAN-CVE-2026-12505
Debian 12cifs-utilsFix pendingDEBIAN-CVE-2026-12505
Red Hat Enterprise Linux 10cifs-utilsFixed0:7.6-1.el10_2RHSA-2026:32990
Red Hat Enterprise Linux 10cifs-utils-develFixed0:7.6-1.el10_2RHSA-2026:32990
Red Hat Enterprise Linux 10pam_cifscredsFixed0:7.6-1.el10_2RHSA-2026:32990
Red Hat Enterprise Linux 9cifs-utilsFixed0:7.6-2.el9_8RHSA-2026:39576
Red Hat Enterprise Linux 9cifs-utils-develFixed0:7.6-2.el9_8RHSA-2026:39576
Red Hat Enterprise Linux 9pam_cifscredsFixed0:7.6-2.el9_8RHSA-2026:39576
Red Hat Enterprise Linux 8cifs-utilsFixed0:7.0-5.el8_10RHSA-2026:39575
Red Hat Enterprise Linux 8cifs-utils-develFixed0:7.0-5.el8_10RHSA-2026:39575
Red Hat Enterprise Linux 8pam_cifscredsFixed0:7.0-5.el8_10RHSA-2026:39575
Red Hat Enterprise Linux 7cifs-utilsNot affected
Red Hat Enterprise Linux 7cifs-utils-develNot affected
Red Hat Enterprise Linux 6cifs-utilsWill not fix
Out of support scope
AlmaLinux 9cifs-utilsFixed7.6-2.el9_8ALSA-2026:39576
AlmaLinux 9cifs-utils-develFixed7.6-2.el9_8ALSA-2026:39576
AlmaLinux 9pam_cifscredsFixed7.6-2.el9_8ALSA-2026:39576
AlmaLinux 8cifs-utilsFixed7.0-5.el8_10ALSA-2026:39575
AlmaLinux 8cifs-utils-develFixed7.0-5.el8_10ALSA-2026:39575
AlmaLinux 8pam_cifscredsFixed7.0-5.el8_10ALSA-2026:39575
Rocky Linux 10cifs-utilsFixed0:7.6-1.el10_2RLSA-2026:32990
Rocky Linux 9cifs-utilsFixed0:7.6-2.el9_8RLSA-2026:39576
Rocky Linux 8cifs-utilsFixed0:7.0-5.el8_10RLSA-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.

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:

References

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.