Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-15779 EUVD-2026-44662GHSA-6fmw-7w5g-3pf9

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

Published Jul 15, 2026 · Updated Nov 5, 2026 · 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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba No fix yet —
Debian 13 samba No fix yet —
Debian 12 samba No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS samba 2:4.23.6+dfsg-1ubuntu2.2 —
Ubuntu 24.04 LTS samba 2:4.19.5+dfsg-4ubuntu9.7 —
Ubuntu 22.04 LTS samba 2:4.15.13+dfsg-0ubuntu1.13 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS samba No fix yet —
Ubuntu Pro 18.04 LTS samba No fix yet —
Ubuntu Pro 16.04 LTS samba No fix yet —
Ubuntu Pro 14.04 LTS samba No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 samba 4.21.10+git.533.31d7e5508d-150700.3.29.1 SUSE-SU-2026:3363-1
SLES 15 SP6 samba 4.19.8+git.501.67274891bc-150600.3.29.1 SUSE-SU-2026:3364-1
SLES 15 SP5 samba 4.17.12+git.581.f49579c6cd-150500.3.42.1 SUSE-SU-2026:3365-1
SLES 15 SP4 samba 4.15.13+git.808.eeca19f5e1-150400.3.52.1 SUSE-SU-2026:3362-1
SLES 12 SP5 samba 4.15.13+git.729.a8ce057e8d-3.109.1 SUSE-SU-2026:3367-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 samba 4.22.11+git.552.66cfeb7de0a-160000.1.1 SUSE-SU-2026:23152-1, SUSE-SU-2026:23129-1
SLES for SAP 15 SP6 samba 4.19.8+git.501.67274891bc-150600.3.29.1 SUSE-SU-2026:3364-1
SLES for SAP 15 SP5 samba 4.17.12+git.581.f49579c6cd-150500.3.42.1 SUSE-SU-2026:3365-1
SLES for SAP 15 SP4 samba 4.15.13+git.808.eeca19f5e1-150400.3.52.1 SUSE-SU-2026:3362-1
SLES 16.0 samba 4.22.11+git.552.66cfeb7de0a-160000.1.1 SUSE-SU-2026:23152-1, SUSE-SU-2026:23129-1
SLE Micro 6.2 samba 4.22.9+git.538.af6cb4fb2e-160000.1.1 SUSE-SU-2026:23003-1, SUSE-SU-2026:22977-1
SLE Micro 5.5 samba 4.17.12+git.581.f49579c6cd-150500.3.42.1 SUSE-SU-2026:3365-1
SLE Micro 5.4 samba 4.15.13+git.808.eeca19f5e1-150400.3.52.1 SUSE-SU-2026:3362-1
SLE Micro 5.3 samba 4.15.13+git.808.eeca19f5e1-150400.3.52.1 SUSE-SU-2026:3362-1
SLE HPC 15 SP5 samba 4.17.12+git.581.f49579c6cd-150500.3.42.1 SUSE-SU-2026:3365-1
SLE HPC 15 SP4 samba 4.15.13+git.808.eeca19f5e1-150400.3.52.1 SUSE-SU-2026:3362-1
SUSE Enterprise Storage 7.1 samba 4.15.13+git.808.eeca19f5e1-150300.3.106.1 SUSE-SU-2026:3366-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 samba 4.22.9+git.538.af6cb4fb2e-160000.1.1 openSUSE-SU-2026:21540-1, openSUSE-SU-2026:21475-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 samba +31 2:4.17.12-1.amzn2023.0.7 ALAS2023-2026-2135
Amazon Linux 2 ctdb +26 4.10.16-24.amzn2.0.9 ALAS2-2026-3886

Advisories 15

References