CVE-2026-58222: Samba: samba ad ldap compare filter injection and trusted-request confusion disclose protected attributes
Noroxi assessment
Priority: Monitor (action score 35/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.80% (FIRST EPSS); higher than 56.9% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: samba (Debian:13) 2:4.22.10+dfsg-0+deb13u2; samba (Debian:14) 2:4.24.5+dfsg-1; samba (openSUSE:Leap 16.0) 4.22.11+git.552.66cfeb7de0a-160000.1.1, 4.22.9+git.538.af6cb4fb2e-160000.1.1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to samba (Debian:13) 2:4.22.10+dfsg-0+deb13u2; samba (Debian:14) 2:4.24.5+dfsg-1; samba (openSUSE:Leap 16.0) 4.22.11+git.552.66cfeb7de0a-160000.1.1, 4.22.9+git.538.af6cb4fb2e-160000.1.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 30, 2026
- Updated
- Jul 30, 2026
- EPSS
- 0.8% · 56th percentile
- CWE
- CWE-90
Report tools
Action score
35
Monitor
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.8%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · redhat
- 8.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat Enterprise Linux 10
- all versionsunknown
Red Hat Red Hat Enterprise Linux 6
- all versionsunknown
- all versionsunknown
Red Hat Red Hat Enterprise Linux 7
- all versionsunknown
Red Hat Red Hat Enterprise Linux 8
- all versionsunknown
Red Hat Red Hat Enterprise Linux 9
- all versionsunknown
Red Hat Red Hat OpenShift Container Platform 4
- all versionsunknown
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | samba | from 0 | — |
| Debian:13 | samba | before 2:4.22.10+dfsg-0+deb13u2 | 2:4.22.10+dfsg-0+deb13u2 |
| Debian:14 | samba | before 2:4.24.5+dfsg-1 | 2:4.24.5+dfsg-1 |
| openSUSE:Leap 16.0 | samba | before 4.22.11+git.552.66cfeb7de0a-160000.1.1 | 4.22.11+git.552.66cfeb7de0a-160000.1.1 |
| openSUSE:Leap 16.0 | samba | before 4.22.9+git.538.af6cb4fb2e-160000.1.1 | 4.22.9+git.538.af6cb4fb2e-160000.1.1 |
| openSUSE:Tumbleweed | samba | before 4.24.5+git.481.dba78dbdea-1.1 | 4.24.5+git.481.dba78dbdea-1.1 |
| SUSE:Enterprise Storage 7.1 | samba | before 4.15.13+git.808.eeca19f5e1-150300.3.106.1 | 4.15.13+git.808.eeca19f5e1-150300.3.106.1 |
| SUSE:Linux Enterprise High Availability Extension 12 SP5 | samba | before 4.15.13+git.729.a8ce057e8d-3.109.1 | 4.15.13+git.729.a8ce057e8d-3.109.1 |
| SUSE:Linux Enterprise High Availability Extension 15 SP6 | samba | before 4.19.8+git.501.67274891bc-150600.3.29.1 | 4.19.8+git.501.67274891bc-150600.3.29.1 |
| SUSE:Linux Enterprise Micro 5.3 | samba | before 4.15.13+git.808.eeca19f5e1-150400.3.52.1 | 4.15.13+git.808.eeca19f5e1-150400.3.52.1 |
| SUSE:Linux Enterprise Micro 5.5 | samba | before 4.17.12+git.581.f49579c6cd-150500.3.42.1 | 4.17.12+git.581.f49579c6cd-150500.3.42.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | samba | before 4.21.10+git.533.31d7e5508d-150700.3.29.1 | 4.21.10+git.533.31d7e5508d-150700.3.29.1 |
| SUSE:Linux Micro 6.2 | samba | before 4.22.9+git.538.af6cb4fb2e-160000.1.1 | 4.22.9+git.538.af6cb4fb2e-160000.1.1 |
| SUSE:Linux Micro 6.2 | samba | before 4.22.11+git.552.66cfeb7de0a-160000.1.1 | 4.22.11+git.552.66cfeb7de0a-160000.1.1 |
Same product
red hat: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-10230Samba: command injection in wins server hook script52Plan
- CVE-2026-4631Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection44Plan
- CVE-2026-76578Ipa: freeipa: freeipa: unauthenticated ldap client can obtain administrator credentials via the self-managed-token aci39Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-58218Jul 30, 2026 · Samba: dns signing dos via tkey name cache exhaustion21Monitor
- ← EarlierCVE-2026-58216Jul 30, 2026 · Samba: kpasswd service: kpasswd packet that contains malformed asn.1 might cause the server to access 6 bytes of unallocated memory leading server to crash21Monitor
- Later →CVE-2026-68562Jul 30, 2026 · Ansible-collection-redhat-leapp: ansible-collection-redhat-leapp: information disclosure via leapp report tampering24Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:samba | 2:4.22.10+dfsg-0+deb13u2 · Debian:13 | Package registry (OSV) |
| opensuse:samba | 4.24.5+git.481.dba78dbdea-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:samba | 4.22.9+git.538.af6cb4fb2e-160000.1.1 · SUSE:Linux Micro 6.2 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2026-10-13 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+74 d
- TodayNov 11, 2026+104 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-26-0707 · Jul 31, 2026(Samba Active Directory Domain Controller (AD DC) Güvenlik Bildirimi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-90 · Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Exploit maturitynone → poc
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.