CVE-2026-15779
MediumCVSS 6.1Exploitation Probability (EPSS)
Low risk3th percentile - higher than 3% of all known CVEs
Summary
A flaw in Samba's pam_winbind, when mkhomedir is enabled, fails to validate the home directory path before chowning it. This allows a non-root user with narrow sudo delegation to change ownership of the root directory (/), causing severe denial of service (SSH, sudo, and package-manager failures) without granting write access.
Risk Assessment
The risk is that an attacker with limited sudo privileges can trigger ownership change of /, leading to complete loss of availability for critical services like SSH, sudo, and package managers, without privilege escalation.
Recommendation
Update Samba to a patched version immediately. As a workaround, disable mkhomedir in pam_winbind or restrict sudo delegations for system accounts with home directory set to /.
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)
A flaw was found in samba's pam_winbind. When mkhomedir is enabled, pam_winbind chowns the target account's home directory without validating the path is not a critical system directory such as /. On affected systems, accounts with / as their home directory (a common default for system accounts) can have this triggered not only by root, but by a non-root user holding a narrow sudo delegation to run commands as that account, causing ownership of / to change and resulting in severe denial of service (SSH, sudo, and package-manager failures). The change does not grant write access to / (which ships with restrictive 0555 permissions on RHEL), so the impact is availability loss rather than further privilege escalation.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

