CVE-2026-58222

Aliases:UBUNTU-CVE-2026-58222DEBIAN-CVE-2026-58222
Awaiting Analysis
Published: 30 Jul 2026, 15:11
Last modified:30 Jul 2026, 16:12

Vulnerability Summary

Overall Risk (default)
medium
35/100
CVSS Score
8.8 HIGH
v3.1 (cve.org)
EPSS Score
0.46% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

30 Jul 2026, 15:11
Published
Vulnerability first disclosed
30 Jul 2026, 16:12
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.1HIGHScore: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.46% Percentile: 39%

Techniques & Countermeasures

  • CWE-90Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

    The product constructs all or part of an LDAP query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended LDAP query when it is sent to a downstream component.

Affected Systems

  • debiansamba

    all | all | < 2:4.22.10+dfsg-0+deb13u2 | < 2:4.24.5+dfsg-1

  • ubuntusamba

    all | < 2:4.15.13+dfsg-0ubuntu1.13 | < 2:4.19.5+dfsg-4ubuntu9.7 | < 2:4.23.6+dfsg-1ubuntu2.2

References (8)