Bug 2566763 (CVE-2026-121847)

Summary: CVE-2026-121847 389-ds-base: 389-ds-base: replication session grants unauthorized cn=config access
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bsmejkal, jachapma, lryznaro, mreynolds, msauton, progier, rhel-process-autobot, security-response-team, snegrini, spichugi, tbordaz, vashirov, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2590189    
Bug Blocks:    
Deadline: 2026-11-30   

Description OSIDB Bzimport 2026-11-04 08:54:24 UTC
A flaw was found in 389-ds-base. A replication session established via the StartNSDS50ReplicationRequest extended operation sets a connection-wide marker rather than one scoped to the replica's own suffix. Every subsequent operation sent on that connection is tagged with the server's internal "replicated operation" flag, and the server's access-control checks unconditionally grant success for any operation carrying this flag, bypassing ACI evaluation entirely regardless of the target entry or operation type. As a result, an account authorized only as a replication bind DN can, after initiating a replication session, read and modify the server's own configuration tree (cn=config) -- including attributes such as nsslapd-rootpw -- even though that account holds no privileges over cn=config and the replication session was only intended to authorize updates to its own replicated suffix. The elevated access persists even after a subsequent bind as a different, unprivileged identity on the same connection. This is an incorrect-authorization issue (CWE-863): an access-control check exists but is applied too broadly, to a scope wider than the trust relationship it was meant to represent.