Advisory

UBUNTU-CVE-2026-15779

Also known as: CVE-2026-15779

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Dates

Published
2026-07-15 13:17 UTC
Modified
2026-07-28 21:27 UTC

Affected packages and fixes

samba

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:4.15.13+dfsg-0ubuntu1.13 (ecosystem)

Fixed versions

2:4.15.13+dfsg-0ubuntu1.13

Fix

  • Fixed version 2:4.15.13+dfsg-0ubuntu1.13
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

samba

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2:4.19.5+dfsg-4ubuntu9.7 (ecosystem)

Fixed versions

2:4.19.5+dfsg-4ubuntu9.7

Fix

  • Fixed version 2:4.19.5+dfsg-4ubuntu9.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

samba

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2:4.23.6+dfsg-1ubuntu2.2 (ecosystem)

Fixed versions

2:4.23.6+dfsg-1ubuntu2.2

Fix

  • Fixed version 2:4.23.6+dfsg-1ubuntu2.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences