CVE Catalog

CVE-2026-58222

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Summary

A vulnerability in Samba Active Directory Domain Controller (AD DC) combines LDAP filter injection with improper authorization checks, allowing an authenticated low-privilege domain user to disclose confidential AD attributes such as msKds-RootKeyData, potentially leading to privilege escalation and full domain compromise.

Risk Assessment

An attacker could gain access to sensitive credential data, including gMSA passwords, potentially leading to complete takeover of the Active Directory domain.

Recommendation

It is recommended to immediately update Samba to a patched version and implement additional monitoring of LDAP queries.

Other vulnerabilities in Samba

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS