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

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-06-18T03:34:22.719Z
- Modified: 2026-11-04T22:17:56.760Z
- Weaknesses: CWE-250
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- cifs-utils: no versions given (not affected: from 0:7.6-1.el10_2 before *; from 0:7.0-5.el8_10 before *; from 0:7.6-2.el9_8 before *)
- openshift/ose-rhel-coreos-9: no versions given (not affected: from 4.22.9.8.202607220526-0 before *)
- openshift/ose-rhel-coreos-8: no versions given
- rhcos: no versions given (not affected: from 4.22.9.8.202607220526-0 before *)

## Every score

- redhat: 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`
- redhat-SADP: 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`

## References

- <https://access.redhat.com/errata/RHSA-2026:32990> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:39575> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:39576> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:44232> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-12505> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2489805> (issue-tracking)
- <https://git.samba.org/?p=cifs-utils.git;a=commit;h=972c5b5ff95e3e812bc8daa72d0383654ab0dba7>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12505.json>

## Sources

- CVE List: [CVE-2026-12505](https://www.cve.org/CVERecord?id=CVE-2026-12505), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-12505](https://nvd.nist.gov/vuln/detail/CVE-2026-12505), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-12505 · Whole record: https://cve.day/CVE-2026-12505.json · Rebuilt by cve.day 2026-11-25T22:59:25.035Z
