VDB

CVE-2026-58222

CVE-2026-58222 PUBLISHED CVSS 8.8 HIGH

Reported by redhat · Published July 30, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libsmbclientAmazon Linux4.10.16-24.amzn2.0.9
sambaAmazon Linux4.10.16-24.amzn2.0.9
libsmbclient-develAmazon Linux4.10.16-24.amzn2.0.9
samba-winbind-krb5-locatorAmazon Linux4.10.16-24.amzn2.0.9
samba-dc-libsAmazon Linux4.10.16-24.amzn2.0.9
samba-common-libsAmazon Linux4.10.16-24.amzn2.0.9
libwbclient-develAmazon Linux4.10.16-24.amzn2.0.9
samba-libsAmazon Linux4.10.16-24.amzn2.0.9
samba-dcAmazon Linux4.10.16-24.amzn2.0.9
samba-common-toolsAmazon Linux4.10.16-24.amzn2.0.9
ctdb-testsAmazon Linux4.10.16-24.amzn2.0.9
sambaAlpine4.23.10-r0

16 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat OpenShift Container Platform 4
amazon:2libsmbclient0
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 10
amazon:2samba0
amazon:2libsmbclient-devel0
Red HatRed Hat Enterprise Linux 8
amazon:2samba-winbind-krb5-locator0
amazon:2samba-dc-libs0
amazon:2samba-common-libs0
amazon:2libwbclient-devel0
amazon:2samba-libs0
amazon:2samba-dc0
amazon:2samba-common-tools0

…and 22 more

Timeline

  • Jul 28, 2026 CVE Published
  • Jul 30, 2026 Coalition ESS Score
  • Jul 30, 2026 CVE Updated
  • Aug 7, 2026 EPSS Score (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-58222
vulnetix vdb fixes CVE-2026-58222

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-58222/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • vdb-entryx_refsource_REDHAT
  • RHBZ#2502722 issue-trackingx_refsource_REDHAT
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›