CVE-2026-58222
HIGHDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 54% of all known CVEs.
References
Related Vulnerabilities
Other CWE-90 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2016-9299 | Critical | 9.8 | 97% | - | - |
| CVE-2017-14596 | Critical | 9.8 | 6.9% | - | - |
| CVE-2016-8750 | Medium | 6.5 | 5.2% | - | Fix |
| CVE-2021-43350 | Critical | 9.8 | 4.4% | - | Fix |
| CVE-2017-4927 | High | 7.5 | 2.3% | - | Fix |
| CVE-2024-27310 | Medium | 5.3 | 2.3% | - | Fix |
Common questions
How do I fix CVE-2026-58222?
Published advisories record a fix for 2 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.
Is CVE-2026-58222 being actively exploited?
Not that we know of. CVE-2026-58222 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.84% is the estimated probability that it will be exploited in the next 30 days. That is higher than 54% of all scored CVEs.
How severe is CVE-2026-58222?
CVE-2026-58222 has a CVSS v3 base score of 8.8, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2026-58222 affect?
Published advisories record a fix for samba (Debian), samba (Ubuntu). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2026-58222
Markdown
[](https://tridentstack.com/cve/CVE-2026-58222)HTML
<a href="https://tridentstack.com/cve/CVE-2026-58222"><img src="https://tridentstack.com/cve/badge/CVE-2026-58222.svg" alt="CVE-2026-58222"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-30.