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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Red Hat Red Hat Enterprise Linux 10
Default version status: affected
0:7.6-1.el10_2 to < *unaffected
Red Hat Red Hat Enterprise Linux 8
Default version status: affected
0:7.0-5.el8_10 to < *unaffected
Red Hat Red Hat Enterprise Linux 9
Default version status: affected
0:7.6-2.el9_8 to < *unaffected
Red Hat Red Hat Enterprise Linux 9
Default version status: affected
0:7.6-2.el9_8 to < *unaffected
Red Hat Red Hat OpenShift Container Platform 4.22
Default version status: affected
4.22.9.8.202607220526-0 to < *unaffected
Red Hat Red Hat Enterprise Linux 6
Default version status: unknown
Red Hat Red Hat Enterprise Linux 7
Default version status: unaffected
Red Hat Red Hat OpenShift Container Platform 4
Default version status: affected
References
- https://access.redhat.com/errata/RHSA-2026:32990 ↗
- https://access.redhat.com/errata/RHSA-2026:39575 ↗
- https://access.redhat.com/errata/RHSA-2026:39576 ↗
- https://access.redhat.com/errata/RHSA-2026:44232 ↗
- https://access.redhat.com/security/cve/CVE-2026-12505 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=2489805 ↗
- 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 ↗