cve.bz

CVE-2026-12505 Execution with Unnecessary Privileges

7.8 highEPSS 0.2%Fix available

High (7.8). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-06-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-250 Execution with Unnecessary Privileges
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:7.6-1.el10_2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:7.0-5.el8_10
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:7.6-2.el9_8
  • Red Hat Red Hat OpenShift Container Platform 4.22: fixed in 4.22.9.8.202607220526-0
  • Debian, Ubuntu, Red Hat, SUSE, AlmaLinux, Rocky Linux, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-12505 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-12505?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-12505?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-12505 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:7.6-1.el10_2
Red Hat Enterprise Linux 80:7.0-5.el8_10
Red Hat Enterprise Linux 90:7.6-2.el9_8
Red Hat OpenShift Container Platform 4.224.22.9.8.202607220526-0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cifs-utils2:7.0-2+deb12u1DEBIAN-CVE-2026-12505 DLA-4957-1
Debian13cifs-utils2:7.4-1+deb13u1DEBIAN-CVE-2026-12505 DSA-6567-1
Debian14cifs-utils2:7.8-1DEBIAN-CVE-2026-12505
Ubuntu18.04:LTS, 20.04:LTS, 25.10 and 2 morecifs-utilsno fix listedUBUNTU-CVE-2026-12505 USN-8496-1
Ubuntu22.04:LTScifs-utils2:6.14-1ubuntu0.6UBUNTU-CVE-2026-12505 USN-8496-1 USN-8496-3
Ubuntu24.04:LTScifs-utils2:7.0-2ubuntu0.5UBUNTU-CVE-2026-12505 USN-8496-1 USN-8496-3
Ubuntu26.04:LTScifs-utils2:7.4-1ubuntu0.26.04.3UBUNTU-CVE-2026-12505 USN-8496-1 USN-8496-3
Red Hatenterprise_linux:8::baseoscifs-utils, pam_cifscreds, cifs-utils-debuginfo and 2 more0:7.0-5.el8_10RHSA-2026:39575
Red Hatenterprise_linux:8::crbcifs-utils-devel, cifs-utils-debuginfo, cifs-utils-debugsource and 1 more0:7.0-5.el8_10RHSA-2026:39575
Red Hatenterprise_linux:9::appstreampam_cifscreds, cifs-utils-debuginfo, cifs-utils-debugsource and 1 more0:7.6-2.el9_8RHSA-2026:39576
Red Hatenterprise_linux:9::baseoscifs-utils, cifs-utils-debuginfo, cifs-utils-debugsource and 1 more0:7.6-2.el9_8RHSA-2026:39576
Red Hatenterprise_linux:9::crbcifs-utils-devel, cifs-utils-debuginfo, cifs-utils-debugsource and 1 more0:7.6-2.el9_8RHSA-2026:39576
Red Hatenterprise_linux:10.2cifs-utils, pam_cifscreds, cifs-utils-devel and 3 more0:7.6-1.el10_2RHSA-2026:32990
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 11 morecifs-utils6.15-150400.3.21.1SUSE-SU-2026:2699-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5cifs-utils6.9-13.26.1SUSE-SU-2026:2700-1
SUSELinux Micro 6.1cifs-utils7.0-slfo.1.1_4.1SUSE-SU-2026:22888-1
AlmaLinux8cifs-utils, pam_cifscreds, cifs-utils-devel7.0-5.el8_10ALSA-2026:39575
AlmaLinux9cifs-utils, pam_cifscreds, cifs-utils-devel7.6-2.el9_8ALSA-2026:39576
Rocky Linux8cifs-utils0:7.0-5.el8_10RLSA-2026:39575
Rocky Linux9cifs-utils0:7.6-2.el9_8RLSA-2026:39576
Rocky Linux10cifs-utils0:7.6-1.el10_2RLSA-2026:32990
Azure Linux3cifs-utils7.6-1AZL-91131

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability affects the cifs.upcall helper in cifs-utils. Red Hat Product Security has assessed this issue as an Important severity vulnerability.

The flaw occurs because cifs.upcall performs user and group resolution operations after entering attacker-controlled namespaces but before fully dropping its elevated privileges. A local attacker may abuse this behavior to influence NSS module loading and execute arbitrary code with root privileges.

Successful exploitation requires local access to the system and several environmental conditions, including registration of the cifs.spnego key type, the presence of the cifs-utils request-key rule, and the ability to create unprivileged user namespaces. However, once these conditions are met, exploitation may allow a local user to obtain root privileges.

```

The issue has been fixed by upstream in cifs-utils v7.6

```

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10cifs-utils-0:7.6-1.el10_2Fixed 2026-06-29RHSA-2026:32990
Red Hat Enterprise Linux 8cifs-utils-0:7.0-5.el8_10Fixed 2026-07-15RHSA-2026:39575
Red Hat Enterprise Linux 9cifs-utils-0:7.6-2.el9_8Fixed 2026-07-15RHSA-2026:39576
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202607220526-0Fixed 2026-07-28RHSA-2026:44232
Red Hat Enterprise Linux 6cifs-utilsOut of support scope
Red Hat Enterprise Linux 7cifs-utilsNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-12505.

Attack patterns (CAPEC)

  • CAPEC-69 Target Programs with Elevated Privileges Likelihood: High · Severity: Very High
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON