CVE-2026-15779 Details
Description
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.
A vulnerability exists in Samba's pam_winbind module, specifically in versions 4.19.x and 4.23.x, when the mkhomedir option is enabled. The module improperly changes the ownership of user home directories without checking if the path is a critical system directory, such as the root directory (/). This flaw can be exploited by non-root users with limited sudo privileges to alter the ownership of the root directory, leading to significant disruptions in system operations that rely on proper file ownership, such as SSH, sudo, and package management. While the ownership change does not allow writing to the root directory due to its default permissions, the incident still causes considerable operational issues.
Users can disable the mkhomedir option in the pam_winbind.conf file to prevent this vulnerability. For systems already affected, restoring the original ownership of the root directory will require manual intervention.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 15, 2026CISA-ADP
Assessed Jul 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-15779 | [email protected] | AdvisoryBundleRemedyVendor |
| https://bugzilla.redhat.com/show_bug.cgi?id=2499991 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://gitlab.com/samba-team/samba/-/blob/samba-4.19.4/nsswitch/pam_winbind.c | [email protected] | Source CodeVendor |
| https://gitlab.com/samba-team/samba/-/blob/samba-4.23.5/nsswitch/pam_winbind.c#L1622 | [email protected] | Source CodeVendor |
| https://gitlab.com/samba-team/samba/-/blob/samba-4.24.3/nsswitch/pam_winbind.c#L1590 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Samba pam_winbind | All versions |
CPE
Remediation
| |
| Red Hat Enterprise Linux | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2026 | New CVE Received | [email protected] |
Volerion