CVE-2026-121847: 389-ds-base: 389-ds-base: replication session grants unauthorized cn=config access
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.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Instances of 389 Directory Server are exposed if an attacker has obtained valid credentials for a replication bind DN. The issue affects the server instance that accepts a replication session authenticated with those credentials.
What does an attacker need to exploit it?
An attacker needs valid replication bind DN credentials and network access to establish a replication session with the directory server. No user interaction is required.
What can an attacker do after exploiting the flaw?
The attacker can send subsequent LDAP operations over the trusted replication connection that bypass access controls. This permits reading and modifying cn=config entries, including settings normally restricted to the Directory Manager, and can result in administrative control of the server instance.
How can I determine whether credentials may have been used to exploit this?
Review LDAP activity associated with replication bind DNs for operations against cn=config and for configuration changes made through replication-session connections. Treat unexpected use of replication credentials, especially from unrecognized network sources, as a potential indicator.