CVE-2026-58221

samba: authenticated LDAP access to internal LDB special DNs permits domain takeover

Published n/a CVSS 3.1 · 8.8 High EPSS n/a KEV · Not listed
Description
A flaw was found in Samba Active Directory Domain Controller (AD DC). Improper authorization checks allow an authenticated low-privilege domain user to modify internal LDB special records through LDAP. By altering the DSDB module configuration, an attacker can bypass directory ACL enforcement on new LDAP connections and elevate privileges, potentially leading to complete domain compromise.

Analysis

AI-generated

Technical impact

This flaw allows a low‑privilege domain user to modify internal LDB special records through LDAP, altering the DSDB module configuration and bypassing ACL enforcement for new LDAP connections. The result is an elevation of privileges that can culminate in a complete domain takeover. The weakness centers on authentication and access control (CWE‑284).

Affected Systems

All Samba Active Directory Domain Controller installations are potentially vulnerable. The specific affected versions are not disclosed in the publicly available data, so any Samba AD DC that has not applied the latest patch should be considered at risk.

Risk and Exploitability

With a CVSS score of 8.8, the vulnerability is classified as high severity. Exploitation requires only authentication as a low‑privilege domain user, making the attack vector relatively straightforward for insiders or compromised accounts. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, but the combination of a high CVSS score and the ability to bypass ACLs indicates a significant risk if left unpatched.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Samba AD DC to the latest stable release that contains the CVE‑2026‑58221 fix.
  • If an immediate patch is unavailable, restrict modify permissions on internal LDB special DNs for low‑privilege users to prevent unauthorized changes.
  • Verify that LDAP ACLs enforce proper authentication and access control on all domain objects, and audit DSDB module configuration settings for unauthorized alterations.

Generated by OpenCVE AI on August 2, 2026 at 02:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6401-1 samba security update
Ubuntu USN Ubuntu USN USN-8621-1 Samba vulnerabilities
History
Type Values Removed Values Added
First Time appeared Samba
Samba samba
Vendors & Products Samba
Samba samba
Type Values Removed Values Added
Description A flaw was found in Samba Active Directory Domain Controller (AD DC). Improper authorization checks allow an authenticated low-privilege domain user to modify internal LDB special records through LDAP. By altering the DSDB module configuration, an attacker can bypass directory ACL enforcement on new LDAP connections and elevate privileges, potentially leading to complete domain compromise.
Title samba: authenticated LDAP access to internal LDB special DNs permits domain takeover
Weaknesses CWE-284
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important

Weaknesses

Sources