Permissions, Privileges, and Access Controls in smb4k - CVE-2025-66003

 

Permissions, Privileges, and Access Controls in smb4k - CVE-2025-66003

Published: January 2, 2026 / Updated: January 12, 2026


Vulnerability identifier: #VU120877
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-66003
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to application allows arbitrary mounts to be created within the Smb4KMountHelper::mount() function in smb4kmounthelper.cpp. A local user with ability to control content of a Samba network share can mount it over an existing local directory (e.g. /bin) and execute arbitrary code with root privileges. 


Affected software

smb4k
Debian Linux
Fedora
smb4k (Debian package)
smb4k

How to mitigate CVE-2025-66003

Install updates from vendor's website.

smb4k - update to 4.0.5
smb4k (Debian package) - update to 4.0.0-1+deb13u1
smb4k - addressed in versions 4.0.6-1.fc42, 4.0.6-1.fc43

External References

Related Security Bulletins