smb4k
CVE-2025-66003
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal user controls Samba share contents
-
DeliveryCraft malicious file name/path
-
ExploitInvoke smb4k mounthelper (KAuth)
-
ExecutionHelper mishandles path as root
-
ImpactEscalate to local root
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Requires an authenticated local user (PR:L) on a system running smb4k before 4.0.5 who can access and control the contents (file names/paths) of a Samba share that is mounted or handled through smb4k's privileged KAuth mounthelper. There is no remote vector (AV:L) and no user interaction from a victim, but attack complexity is high (AC:H) because the attacker must be able to place attacker-controlled path/file-name content into the share and have it processed by the root-level helper. Exploitation is limited to hosts where smb4k with the vulnerable mounthelper is installed and used; it does not affect servers or non-KDE/non-smb4k deployments. |
| Impact | This is a genuine local privilege-escalation flaw but a low operational priority for most environments. The CVSS 4.0 vector (AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) confirms local-only exploitation by an already-authenticated low-privileged user, with high attack complexity because the attacker must be able to access and control the contents of a Samba share that is mounted through smb4k's privileged KAuth mounthelper. EPSS is 0.02% (4th percentile), there is no CISA KEV listing and no public exploit identified at time of analysis, so all signals point to a theoretical-but-real issue rather than one under active or imminent mass exploitation. The signals are internally consistent - a local root escalation with meaningful complexity gating is exactly the profile of a low-EPSS, non-KEV finding. The one clear conflict is the 'Information Disclosure' tag, which understates the impact: this is a local root exploit (full C/I/A / VC:H/VI:H/VA:H), i.e. total system compromise, not mere disclosure. |
| Exploit ScenarioDerived | A logged-in local user on a Linux/KDE desktop places a maliciously crafted file name or path inside a Samba share they control, then triggers smb4k to mount or operate on that share via its setuid/KAuth mounthelper. Because the helper improperly trusts the externally controlled path (CWE-73), the operation executes with root privileges, giving the attacker a local root exploit. No public POC is currently known, and the AC:H rating reflects the specific conditions needed to control the share contents and win the operation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 30, 2026
Local privilege escalation in smb4k before 4.0.5 allows an authenticated local user to gain root by controlling the contents of a Samba share processed by the smb4k KAuth mounthelper; this requires high attack complexity and specific conditions where the attacker can place malicious file names or paths into a mounted share. This is a genuine local privilege-escalation flaw but a low operational priority for most environments, with a very low EPSS score (0.02%) and no public exploit identified at time of analysis.
Earlier versions of this analysis (1)
An External Control of File Name or Path vulnerability in smb4k allowsl ocal users to perform a local root exploit via smb4k mounthelper if they can access and control the contents of a Samba shareThis issue affects smb4k: from ? before 4.0.5.
RemediationAI
Upgrade to smb4k 4.0.5 or later, as this version contains the vendor-released patch for CVE-2025-66003. Refer to the openSUSE security advisory (https://security.opensuse.org/2025/12/10/smb4k-major-issues-in-kauth-helper.html) and the SUSE bugzilla entry (https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-66003) for details. If immediate upgrade is not possible, restrict the use of smb4k to trusted local users and avoid mounting Samba shares whose contents are controlled by untrusted parties; note that this mitigates the attack vector but may limit functionality. Disabling the smb4k mounthelper entirely would prevent exploitation but also prevent mounting operations, so weigh the trade-off. Ensure that only necessary users have local access to systems with smb4k installed.
Affected ProductsAI
smb4k versions before 4.0.5 are affected. This includes all releases prior to the fixed version 4.0.5, as indicated by the vendor. The vulnerability resides in the smb4k mounthelper component. No specific CPE strings were provided in the intelligence data, but the affected product is clearly identified as smb4k by the SUSE advisory (https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-66003) and the openSUSE security advisory (https://security.opensuse.org/2025/12/10/smb4k-major-issues-in-kauth-helper.html). Systems running KDE with smb4k installed and using the KAuth mounthelper are at risk.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is an instance of CWE-73 (External Control of File Name or Path) in the smb4k KAuth mounthelper, a privileged helper used to mount SMB/CIFS shares. The helper runs with root privileges and processes file names and paths from a Samba share without sufficient validation, allowing a local user who can control the share's contents to inject path traversal or specially crafted filenames that the root helper acts upon-potentially leading to arbitrary file writes, deletion, or execution as root. This affects smb4k versions before 4.0.5 on systems where the mounthelper is installed and used; it does not affect servers or non-KDE/non-smb4k deployments. The KAuth framework is a KDE D-Bus-based authorization system that allows unprivileged applications to request privileged operations, and the mounthelper specifically handles mounting operations for smb4k.
Know when Smb4K gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local low-privileged user (AV:L/PR:L) must control Samba share path contents processed by a root helper (AC:H), yielding full root compromise (C:H/I:H/A:H).
Primary rating from Vendor (suse).
CVSS VectorVendor: suse
Lifecycle Timeline
3DescriptionCVE.org
An External Control of File Name or Path vulnerability in smb4k allowsl ocal users to perform a local root exploit via smb4k mounthelper if they can access and control the contents of a Samba shareThis issue affects smb4k: from ? before 4.0.5.
Executive ViewAI
A local privilege-escalation flaw in smb4k, the Samba share browser commonly installed on Linux desktops, could allow a user who can influence the contents of a mounted Samba share to obtain root on that machine. Because exploitation requires a local foothold, attacker-controlled share contents, and specific high-complexity conditions, and because no public exploit code or active exploitation has been identified, exposure is confined to end-user Linux workstations rather than enterprise servers or externally reachable services. Leadership should treat this as a routine desktop patch-management item rather than an incident.
No vendor-released patch identified at time of analysis. Interim mitigations: uninstall or disable smb4k where Samba share browsing is not required; restrict mounting to IT-controlled Samba shares and block user-controlled or untrusted share contents; and reduce or tightly constrain the privileges of the smb4k KAuth mounthelper.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
smb4k before 2.0.1 allows local users to gain root privileges by leveraging failure to verify arguments to the mount hel
KDE Smb4K before 4.0.7 leaves a protocol-version restriction incomplete in its privileged mount helper, so shares can st
Local users on systems where the KDE Samba share manager SMB4K is installed can abuse its privileged KAuth (PolicyKit) m
Path traversal in KDE Smb4K before 4.0.8 allows a local, low-privileged user to abuse a share named '.' and reach high-i
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB