Advisory

UBUNTU-CVE-2026-58222

Also known as: CVE-2026-58222

Summary

The record has no summary.

Details

A security flaw combining LDAP filter injection and improper authorization checks was found in Samba Active Directory Domain Controller (AD DC). When processing LDAP Compare requests, Samba fails to properly validate user-supplied attribute names and executes the resulting internal database search in a trusted context, bypassing normal Access Control List (ACL) enforcement. An authenticated low-privilege domain user can exploit these flaws to disclose confidential Active Directory attributes that would normally be inaccessible. The disclosed information may be leveraged to derive sensitive authentication material, potentially leading to privilege escalation and complete domain compromise. For example: In deployments configured with Group Managed Service Accounts (gMSAs), an attacker can extract the "msKds-RootKeyData" attribute and derive gMSA passwords offline, potentially leading to complete domain compromise if privileged gMSAs are present.

Severity

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

Dates

Published
2026-07-28 10:00 UTC
Modified
2026-08-06 03:10 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