Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-66003: CWE-73: External Control of File Name or Path in https://github.com/KDE/ smb4k

0
High
VulnerabilityCVE-2025-66003cvecve-2025-66003cwe-73
Published: Thu Jan 08 2026 (01/08/2026, 14:58:46 UTC)
Source: CVE Database V5
Vendor/Project: https://github.com/KDE/
Product: smb4k

Description

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.

AI-Powered Analysis

AILast updated: 01/08/2026, 15:20:02 UTC

Technical Analysis

CVE-2025-66003 is a vulnerability classified under CWE-73 (External Control of File Name or Path) found in smb4k, a KDE project utility designed to facilitate the management and mounting of Samba shares on Linux systems. The flaw exists in the smb4k mounthelper component, which improperly handles file paths controlled externally by users who have access to Samba shares. Specifically, local users with limited privileges who can access and manipulate the contents of a Samba share can exploit this vulnerability to perform a local root privilege escalation. This occurs because the mounthelper trusts file paths or names originating from the Samba share without sufficient validation or sanitization, allowing crafted inputs to influence system-level operations. The vulnerability affects all versions prior to 4.0.5, with no patch links currently provided but an upgrade path implied. The CVSS 4.0 vector indicates a local attack vector (AV:L), high attack complexity (AC:H), no privileges required beyond local user (PR:L), no user interaction (UI:N), and high impact on confidentiality, integrity, and availability (VC:H, VI:H, VA:H). No known exploits have been reported in the wild, but the potential for local root compromise makes this a critical concern for environments where smb4k is deployed and Samba shares are accessible to untrusted or semi-trusted users.

Potential Impact

For European organizations, this vulnerability poses a significant risk primarily in environments where smb4k is used to manage Samba shares, especially in multi-user systems or shared workstations. Successful exploitation results in local privilege escalation to root, enabling attackers to gain full control over affected systems. This can lead to unauthorized access to sensitive data, system manipulation, and disruption of services. The impact extends to confidentiality, integrity, and availability of systems, potentially allowing attackers to install persistent malware, exfiltrate data, or disrupt operations. Organizations with collaborative file-sharing environments or those using Linux desktops with KDE and Samba integration are particularly vulnerable. Given the local access requirement, insider threats or compromised user accounts represent the most likely attack vectors. The absence of known exploits reduces immediate risk but does not diminish the urgency of remediation due to the high potential impact.

Mitigation Recommendations

To mitigate this vulnerability, organizations should promptly upgrade smb4k to version 4.0.5 or later once available, as this version addresses the path validation issues. Until an upgrade is possible, restrict access to Samba shares to trusted users only and enforce strict permissions to prevent unauthorized modification of share contents. Implement monitoring for unusual local user activities on systems running smb4k, focusing on mounthelper usage and file path manipulations. Employ Linux security modules such as AppArmor or SELinux to confine smb4k mounthelper processes, limiting their ability to escalate privileges. Regularly audit local user accounts and remove unnecessary privileges to reduce the attack surface. Additionally, educate users about the risks of manipulating Samba share contents and enforce network segmentation to isolate critical systems from less trusted user environments.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
suse
Date Reserved
2025-11-19T08:52:54.076Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 695fc7afc901b06321f9519d

Added to database: 1/8/2026, 3:05:19 PM

Last enriched: 1/8/2026, 3:20:02 PM

Last updated: 1/9/2026, 10:56:01 AM

Views: 15

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats