← Back to search

CVE-2026-104715

7.8 HIGH

Published 2026-10-16 · Updated 2026-10-16

AI risk analysis

Summary
A local unprivileged user can escalate privileges on systems where a privileged service mounts a CIFS share using a user-controlled credentials file; unsanitized input in the credentials file allows injection of arbitrary mount options, bypassing permission checks and enabling execution of files as root.
Exploitability
Exploitation requires local access and the presence of a privileged service that uses a user-writable credentials file for CIFS mounting without proper sanitization of its contents.
Blast radius
An attacker with low-privilege local access can gain full root control of the host, compromising confidentiality, integrity, and availability of the system.
Detection
Monitor for unexpected or unauthorized CIFS mount options (e.g., 'uid=', 'gid=', 'file_mode=', 'dir_mode=', or 'exec') in kernel logs (dmesg) or audit logs when a privileged service initiates a CIFS mount; also watch for processes spawned from mounted CIFS shares with elevated privileges.
Prioritized remediation
Upgrade to cifs-utils version 6.15 or later, where input sanitization for credentials file parameters has been implemented to prevent mount option injection.
privilege-escalationcifsmount-injectionlocal-exploitcredentials-file

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

A flaw was found in cifs-utils. This flaw allows an unprivileged local user to achieve privilege escalation. When a privileged service mounts a Common Internet File System (CIFS) share using a user-controlled credentials file, input values are not properly sanitized before being assembled into mount options. A local attacker can exploit this vulnerability to inject unauthorized mount options, allowing them to bypass permission checks and execute files with administrative (root) privileges.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-88

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.