CVE-2015-5252
HighCVSS 7.2Exploitation Probability (EPSS)
Very high risk97th percentile - higher than 97% of all known CVEs
Summary
In Samba versions 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, a vulnerability allows remote attackers to bypass intended file-access restrictions via a symlink pointing outside of a share when certain substring relationships in share names exist.
Risk Assessment
Attackers may gain access to files they should not have access to, potentially leading to data leakage or unauthorized modifications.
Recommendation
It is recommended to update Samba to the latest version to mitigate this vulnerability and review access policies for shared resources.
Other vulnerabilities in Samba
See all- CVE-2026-135114Unknown
This CVE has been rejected at Upstream (reference: https://bugzilla.samba.org/show_bug.cgi?id=16403#c12). No confirmed vulnerability to describe.
- CVE-2026-120377Unknown
This CVE has been rejected at Upstream (reference: https://bugzilla.samba.org/show_bug.cgi?id=16169#c6). No confirmed vulnerability to describe.
- CVE-2026-120369Unknown
This CVE has been rejected at Upstream (reference: https://bugzilla.samba.org/show_bug.cgi?id=16161#c10). No confirmed vulnerability to describe.
- CVE-2026-135106Unknown
This CVE has been rejected by Upstream. The rejection is documented with a reference to the Samba bugzilla.
- CVE-2026-58221Medium
A low-privilege authenticated Samba AD user can modify internal LDB special DNs via LDAP access, enabling a domain takeover.
- CVE-2026-4408Critical
A flaw in Samba allows remote command execution due to improper escaping of shell meta-characters in the 'check password script' feature when using the %u substitution. This affects non-standard configurations with samba-dcerpcd running as a system service.
- CVE-2026-4480Critical
The Samba printing subsystem contains a vulnerability where the client-controlled job description string is passed to the command configured with the 'print command' setting via the '%J' substitution character without escaping shell meta characters. A remote attacker can send a specially crafted print job description containing unescaped shell characters, leading to remote code execution.
- CVE-2025-10230Critical
A flaw was found in Samba, in the front-end WINS hook handling: NetBIOS names from registration packets are passed to a shell without proper validation or escaping. Unsanitized NetBIOS name data from WINS registration packets are inserted into a shell command and executed by the Samba Active Directory Domain Controller's wins hook, allowing an unauthenticated network attacker to achieve remote command execution as the Samba process.
- CVE-2023-3961Critical
A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Due to inadequate sanitization of incoming client pipe names, a client can send a pipe name containing Unix directory traversal characters (../), potentially causing SMB clients to connect as root to Unix domain sockets outside the private directory.
- CVE-2017-15275High
Samba before 4.7.3 might allow remote attackers to obtain sensitive information by leveraging failure of the server to clear allocated heap memory.
Original NVD description (English source)
vfs.c in smbd in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, when share names with certain substring relationships exist, allows remote attackers to bypass intended file-access restrictions via a symlink that points outside of a share.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

