CVE-2026-12505
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 in
CVSS
7.8
High
EPSS
0.1%
p2
KEV
—
Exploit Today
1
0-100
Published: Jun 18, 2026 · Last modified: Jul 15, 2026 · CWE-250
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.
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:32990
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:39575
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:39576
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2026-12505
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2489805
- git.samba.orghttps://git.samba.org/?p=cifs-utils.git;a=commit;h=972c5b5ff95e3e812bc8daa72d0383654ab0dba7
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:32990
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:39575
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:39576
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2026-12505
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2489805
- security.access.redhat.comhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12505.json