🛡️ CVE-2026-58222 on Ubuntu — samba
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.
Distribution advisory
This page covers CVE-2026-58222 as tracked by Ubuntu, for the package samba. The fix is available in version 2:4.23.6+dfsg-1ubuntu2.2; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Affected software
UBUNTU-CVE-2026-58222 is recorded against 1 package.
- samba (fixed in 2:4.23.6+dfsg-1ubuntu2.2)
Timeline and source
Published on 28 July 2026 and last revised on 6 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
ubuntu.com (Report)
www.cve.org (Report)
ubuntu.com (Advisory)
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| samba | — | 2:4.23.6+dfsg-1ubuntu2.2 |
References
Similar Threats
- Unknown ALPINE-CVE-2018-14628
- Unknown ALPINE-CVE-2022-1615
- Unknown ALPINE-CVE-2022-32743
- Unknown ALPINE-CVE-2022-0336
- Unknown ALPINE-CVE-2022-2031
More UBUNTU CVE 2026 advisories
Browse all of UBUNTU CVE 2026 in the advisory index.
- UBUNTU-CVE-2026-58210
- UBUNTU-CVE-2026-58211
- UBUNTU-CVE-2026-58212
- UBUNTU-CVE-2026-58213
- UBUNTU-CVE-2026-58214
- UBUNTU-CVE-2026-58216
- UBUNTU-CVE-2026-58218
- UBUNTU-CVE-2026-58221
- UBUNTU-CVE-2026-58224
- UBUNTU-CVE-2026-58227
- UBUNTU-CVE-2026-58250
- UBUNTU-CVE-2026-58251
- UBUNTU-CVE-2026-58252
- UBUNTU-CVE-2026-58253
- UBUNTU-CVE-2026-58254
- UBUNTU-CVE-2026-58264
Site Security Check
Is samba part of your stack?
UBUNTU-CVE-2026-58222 is rated CVSS 8.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.