CVE-2026-15779CWE-732

Samba-winbind: samba: pam_winbind mkhomedir chowns critical system paths without validation

Medium · published July 15, 2026

CVSS v3.1
6.1
EPSS
0%
Percentile
1.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00104 · 1.0th percentile
Weakness
CWE-732 · Incorrect Permission Assignment for Critical Resource
Published
2026-07-15T12:33Z
EPSS history
Timeline
  • 15 JUL 12:33Z
    Samba-winbind: samba: pam_winbind mkhomedir chowns critical system paths without validation
    cvelistv5