Improper access control in Samba - CVE-2026-58221
Published: July 28, 2026 / Updated: July 29, 2026
Vulnerability identifier: #VU139944
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-58221
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Affected software:
Samba
Samba
Detailed vulnerability description
The vulnerability allows a remote user to escalate privileges.
The vulnerability exists due to improper access control in Samba AD internal LDB special DNs when handling authenticated LDAP access. A remote user can modify internal LDB special DNs to escalate privileges.
The issue permits a domain takeover.
How to mitigate CVE-2026-58221
Install security update from vendor's website.