CVE-2026-58221: Authenticated LDAP Domain Takeover in Samba Active Directory
CVE-2026-58221 is a vulnerability in Samba Active Directory that can allow an authenticated attacker with LDAP access to take over the domain. The vulnerable function, underlying technical cause, and exact affected version ranges are not established.
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 a Samba Active Directory domain, compromising domain-level administrative control and the confidentiality and integrity of directory-managed identities and access policies.
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.
Apply vendor-fixed Samba packages. Fixed upstream releases include 4.22.10 or later in the 4.22 branch, 4.23.9 or later in the 4.23 branch, and 4.24.4 or later in the 4.24 branch. For Debian trixie, upgrade to 2:4.22.10+dfsg-0+deb13u2 or later; for unstable/sid, upgrade to 2:4.24.5+dfsg-1 or later. Debian bullseye is identified as outside security support for this issue; affected deployments should migrate to a supported, fixed release.
Exploits
1 exploit validated by Mallory's analysis.
References
Frequently asked questions
- Is CVE-2026-58221 exploited in the wild?
- As of Nov 24, 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?
- Apply vendor-fixed Samba packages. Fixed upstream releases include 4.22.10 or later in the 4.22 branch, 4.23.9 or later in the 4.23 branch, and 4.24.4 or later in the 4.24 branch.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.