CVEfocus › CVE database › CVE-2026-15779

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

CVSS 6.1 MediumEPSS 0.1% (higher than 2% of CVEs)Published 2026-07-15Updated 2026-11-24Assigner: redhat

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.

CWE-732

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
8Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04sambaFixed2:4.23.6+dfsg-1ubuntu2.2UBUNTU-CVE-2026-15779
Ubuntu 24.04sambaFixed2:4.19.5+dfsg-4ubuntu9.7UBUNTU-CVE-2026-15779
Ubuntu 22.04sambaFixed2:4.15.13+dfsg-0ubuntu1.13UBUNTU-CVE-2026-15779
Ubuntu 20.04sambaFix pendingUBUNTU-CVE-2026-15779
Ubuntu 18.04sambaFix pendingUBUNTU-CVE-2026-15779
Ubuntu 16.04sambaFix pendingUBUNTU-CVE-2026-15779
Ubuntu 14.04sambaFix pendingUBUNTU-CVE-2026-15779
Debian 14sambaFixed2:4.24.2+dfsg-1DEBIAN-CVE-2026-15779
Debian 13sambaFixed2:4.22.10+dfsg-0+deb13u1DEBIAN-CVE-2026-15779
Debian 12sambaFix pendingDEBIAN-CVE-2026-15779
Red Hat Enterprise Linux 10samba-winbindFix pending
Affected
Red Hat Enterprise Linux 9samba-winbindFix pending
Affected
Red Hat Enterprise Linux 8samba-winbindFix pending
Affected
Red Hat Enterprise Linux 7samba-winbindWill not fix
Will not fix
Red Hat Enterprise Linux 6samba-winbindWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: 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.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.