CVE-2026-15779
Medium 6.1No known exploitationFix status unknownSamba-winbind: samba: pam_winbind mkhomedir chowns critical system paths without validation
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 2% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-732
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- Do not enable mkhomedir in pam_winbind.conf on systems where any account (including system accounts) may resolve to a home directory of / or another sensitive system path.
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 6 (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- https://access.redhat.com/security/cve/CVE-2026-15779 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2499991 (opens in a new tab)issue-tracking, x_refsource_redhat
- https://gitlab.com/samba-team/samba/-/blob/samba-4.19.4/nsswitch/pam_winbind.c (opens in a new tab)
- https://gitlab.com/samba-team/samba/-/blob/samba-4.23.5/nsswitch/pam_winbind.c (opens in a new tab)
- https://gitlab.com/samba-team/samba/-/blob/samba-4.24.3/nsswitch/pam_winbind.c (opens in a new tab)