CVE-2026-12505

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

State
Published
Severity
7.8 High
Published
Jun 18, 2026
Updated
Oct 14, 2026
Reserved
Jun 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-250 Execution with Unnecessary Privileges

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
  • 0:7.6-1.el10_2 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:7.0-5.el8_10 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:7.6-2.el9_8 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:7.6-2.el9_8 and laterNot affected
Red Hat OpenShift Container Platform 4.22Red Hat
  • 4.22.9.8.202607220526-0 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat OpenShift Container Platform 4Red Hat

        References

        Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.