← CVE Intelligence

CVE-2026-12505

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Red Hat / Red Hat Enterprise Linux 10unaffected 0:7.6-1.el10_2 before *
Red Hat / Red Hat Enterprise Linux 8unaffected 0:7.0-5.el8_10 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 0:7.6-2.el9_8 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 0:7.6-2.el9_8 before *
Red Hat / Red Hat OpenShift Container Platform 4.22unaffected 4.22.9.8.202607220526-0 before *
Red Hat / Red Hat Enterprise Linux 6unknown
Red Hat / Red Hat Enterprise Linux 7unaffected
Red Hat / Red Hat OpenShift Container Platform 4affected

CWE

CWE-250

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

redhat-SADP

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.