8.8

CVE-2026-58222: Samba: samba ad ldap compare filter injection and trusted-request confusion disclose protected attributes

Awaiting analysis
AliasesUBUNTU-CVE-2026-58222DEBIAN-CVE-2026-58222
Published 30-07-2026Last modified 30-07-2026

Vulnerability summary

CVE-2026-58222 is a high (CVSS 8.8) vulnerability in samba. EPSS estimates a 0.80% chance of exploitation in the next 30 days, higher than 56.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.80%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 13 · Related 14

Timeline

  1. 30-07-2026
    PublishedVulnerability first disclosed.
  2. 30-07-2026
    Last modifiedVulnerability 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

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.80%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.80% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • sambaAll versions (No fix recorded) | < 2:4.22.10+dfsg-0+deb13u2 | < 2:4.24.5+dfsg-1
Ubuntu1 product
  • sambaAll versions (No fix recorded) | < 2:4.15.13+dfsg-0ubuntu1.13 | < 2:4.19.5+dfsg-4ubuntu9.7 | < 2:4.23.6+dfsg-1ubuntu2.2

2 vendors · 2 products

References

8 links