CVE-2026-121847

Description

A flaw was found in 389-ds-base. After a client authenticated as a replication bind DN establishes a replication session, the server marks the entire LDAP connection as a trusted replication session instead of scoping that trust to the replica's own suffix. Operations subsequently sent on the same connection bypass access control checks entirely, allowing the replication identity to read and modify the server's own configuration entries, including settings normally restricted to the Directory Manager. This issue could allow an attacker who has obtained valid replication credentials to gain administrative control over the directory server instance.

Statement

Exploitation requires the attacker to already possess valid credentials for an account configured as a replication bind DN. In practice, such credentials are primarily accessible to parties who already hold Directory-Manager-equivalent access to a server participating in the replication topology, since that is where the credential is provisioned and stored. In deployments where replication identities are managed through mechanisms such as Kerberos/GSSAPI-based replication rather than a static password, the precondition for this flaw is not present at all. Taking these factors into account, Red Hat has rated the impact of this flaw as Moderate.

Mitigation

There is no complete mitigation for this issue other than applying a fix once available. Administrators can reduce exposure by restricting network access to the LDAP/LDAPS listener to only the hosts that legitimately participate in the replication topology, ensuring replication bind DN credentials are unique and not reused for any other account or purpose, enforcing TLS for all replication connections, and monitoring for unexpected modifications to cn=config.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.2N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredHighN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityHighN/AN/A
Integrity ImpactHighN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Application Data; Read Files or Directories

An attacker could bypass intended access restrictions to read sensitive data, either by reading the data directly from a data store that is not correctly restricted, or by accessing insufficiently-protected, privileged functionality to read the data.

Integrity

Technical Impact: Modify Application Data; Modify Files or Directories

An attacker could bypass intended access restrictions to modify sensitive data, either by writing the data directly to a data store that is not correctly restricted, or by accessing insufficiently-protected, privileged functionality to write the data.

Access Control

Technical Impact: Gain Privileges or Assume Identity; Bypass Protection Mechanism

An attacker could bypass intended access restrictions to gain privileges by modifying or reading critical data directly, or by accessing privileged functionality.

Confidentiality,Integrity,Availability

Technical Impact: Execute Unauthorized Code or Commands

An attacker could use elevated privileges to execute unauthorized commands or code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

An attacker could gain unauthorized access to resources on the system and excessively consume those resources, leading to a denial of service.

Acknowledgements

This issue was discovered by Viktor Ashirov (Red Hat).

Frequently Asked Questions

Want to get errata notifications? Sign up here.