# CVE-2026-15779: Samba-winbind: samba: pam_winbind mkhomedir chowns critical system paths without validation

- Severity: Medium 6.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 2% of CVEs (2026-11-29)
- Published: 2026-07-15T12:33:04.688Z
- Modified: 2026-11-24T11:17:13.620Z
- Weaknesses: CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- samba-winbind: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-15779> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2499991> (issue-tracking)
- <https://gitlab.com/samba-team/samba/-/blob/samba-4.19.4/nsswitch/pam_winbind.c>
- <https://gitlab.com/samba-team/samba/-/blob/samba-4.23.5/nsswitch/pam_winbind.c#L1622>
- <https://gitlab.com/samba-team/samba/-/blob/samba-4.24.3/nsswitch/pam_winbind.c#L1590>

## Sources

- CVE List: [CVE-2026-15779](https://www.cve.org/CVERecord?id=CVE-2026-15779), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-15779](https://nvd.nist.gov/vuln/detail/CVE-2026-15779), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-15779 · Whole record: https://cve.day/CVE-2026-15779.json · Rebuilt by cve.day 2026-11-25T22:59:28.283Z
