CVE Vulnerabilities

CVE-2026-12505

Execution with Unnecessary Privileges

Published: Jun 18, 2026 | Modified: Jul 15, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.8 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 attackers controlled NSS Module and configuration, allowing them to execute arbitrary commands as the root user, elevating their privileges and fully compromising the system.

Weakness

The product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.

Affected Software

NameVendorStart VersionEnd Version
Red Hat Enterprise Linux 10RedHatcifs-utils-0:7.6-1.el10_2*
Red Hat Enterprise Linux 8RedHatcifs-utils-0:7.0-5.el8_10*
Red Hat Enterprise Linux 9RedHatcifs-utils-0:7.6-2.el9_8*
Red Hat Enterprise Linux 9RedHatcifs-utils-0:7.6-2.el9_8*
Cifs-utilsUbuntudevel*
Cifs-utilsUbuntujammy*
Cifs-utilsUbuntunoble*
Cifs-utilsUbuntuquesting*
Cifs-utilsUbunturesolute*

Potential Mitigations

References