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.
CVSS Details
- CVSS 3.1 Base Score: 6.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade samba-vfs-iouringUpgrade samba-winbind-modules-debuginfoUpgrade samba-test-debuginfoUpgrade samba-debugsourceUpgrade python3-sambaUpgrade python3-samba-testUpgrade python3-samba-dc-debuginfoUpgrade libsmbclientUpgrade sambaUpgrade samba-ldb-ldap-modulesUpgrade samba-winbindUpgrade samba-client-libs-debuginfoUpgrade samba-debuginfoUpgrade samba-libs-debuginfoUpgrade samba-dcerpc-debuginfoUpgrade samba-libsUpgrade samba-winbind-modulesUpgrade samba-krb5-printingUpgrade samba-pidlUpgrade samba-dcerpcUpgrade samba-commonUpgrade samba-usersharesUpgrade samba-vfs-iouring-debuginfoUpgrade samba-toolsUpgrade libsmbclient-debuginfoUpgrade libnetapi-develUpgrade samba-dc-libs-debuginfoUpgrade samba-develUpgrade samba-winbind-debuginfoUpgrade libwbclientUpgrade libwbclient-debuginfoUpgrade python3-samba-dcUpgrade samba-test-libs-debuginfoUpgrade libsmbclient-develUpgrade libnetapi-debuginfoUpgrade samba-common-libs-debuginfoUpgrade python3-samba-debuginfoUpgrade samba-winbind-clients-debuginfoUpgrade samba-test-libsUpgrade samba-client-libsUpgrade samba-ldb-ldap-modules-debuginfoUpgrade libwbclient-develUpgrade libnetapiUpgrade samba-winbind-krb5-locatorUpgrade samba-winbind-krb5-locator-debuginfoUpgrade samba-krb5-printing-debuginfoUpgrade samba-common-libsUpgrade samba-client-debuginfoUpgrade samba-clientUpgrade python3-samba-develUpgrade samba-common-tools-debuginfoUpgrade samba-testUpgrade samba-winbind-clientsUpgrade samba-common-toolsUpgrade samba-dc-libs | Sep 30, 2026 | Jul 15, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Jul 14, 2026 |
| Ubuntu | — | Upgrade samba | Jul 28, 2026 | Jul 15, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub