CVE-2026-58221: Authenticated LDAP Domain Takeover in Samba Active Directory
CVE-2026-58221 is a vulnerability in Samba Active Directory that allows an authenticated attacker with LDAP access to potentially take over the domain. The vulnerable function and underlying technical defect are not specified.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can result in takeover of the affected Samba Active Directory domain, compromising its administrative security boundary. More granular effects and the precise privileges obtained are not specified.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific workaround is documented. Prioritize patching affected Samba Active Directory deployments.
Remediation
Patch, then assume compromise.
Upgrade Samba to version 4.22.10 or later in the 4.22 branch, 4.23.9 or later in the 4.23 branch, or 4.24.4 or later in the 4.24 branch. For Debian trixie, install 2:4.22.10+dfsg-0+deb13u2 or later; for unstable/sid, install 2:4.24.5+dfsg-1 or later. Huawei EulerOS users should apply the applicable Samba security update, including EulerOS-SA-2026-5267 for EulerOS 2.0 SP15. Debian bullseye is identified as outside security support for this issue.
Exploits
1 exploit validated by Mallory's analysis.
References
Frequently asked questions
- Is CVE-2026-58221 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2026-58221 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-58221?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-58221, the earliest disclosed Oct 18, 2026.
- Is there a patch for CVE-2026-58221?
- Upgrade Samba to version 4.22.10 or later in the 4.22 branch, 4.23.9 or later in the 4.23 branch, or 4.24.4 or later in the 4.24 branch. For Debian trixie, install 2:4.22.10+dfsg-0+deb13u2 or later; for unstable/sid, install 2:4.24.5+dfsg-1 or later.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.