Bug 2590189

Summary: CVE-2026-121847 389-ds-base: 389-ds-base: replication session grants unauthorized cn=config access [fedora-all]
Product: [Fedora] Fedora Reporter: Samuele Negrini <snegrini>
Component: 389-ds-baseAssignee: mreynolds
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: abokovoy, jachapma, mreynolds, spichugi, tbordaz, vashirov
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["9f372837-c24e-4d93-a004-29a8217e5200"]}
Fixed In Version: Doc Type: ---
Doc Text:
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:    
Bug Blocks: 2566763    

Description Samuele Negrini 2026-12-03 13:29:07 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.