CVE-2026-18922 PUBLISHED

389-ds-base: 389-ds-base: sasl plain authentication allows privilege escalation to directory manager via stale identity in cyrus sasl auxiliary property

Assigner: redhat
Reserved: 05.08.2026 Published: 07.09.2026 Updated: 08.09.2026

A flaw was found in 389 Directory Server. During SASL PLAIN authentication, a stale identity carried in a Cyrus SASL auxiliary property from a prior failed bind attempt can be installed on a connection following a subsequent, unrelated successful bind, regardless of which SASL mechanism completes that second bind. An attacker can send a SASL PLAIN bind as cn=Directory Manager with an incorrect password, then complete a SASL ANONYMOUS bind on the same connection, causing the server to grant Directory Manager authority without any valid credentials. A variant using a valid low-privileged account's own successful bind instead of an anonymous one is also possible.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor Red Hat
Product Red Hat Directory Server 11.7 E4S for RHEL 8
Versions Default: affected
  • unaffected from 8080020260903102346.f969626e to * (excl.)
Vendor Red Hat
Product Red Hat Directory Server 12.2 E4S for RHEL 9
Versions Default: affected
  • unaffected from 9020020260903155914.1674d574 to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 10.0 Extended Update Support
Versions Default: affected
  • unaffected from 0:3.0.6-21.el10_0 to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 7 Extended Lifecycle Support
Versions Default: affected
  • unaffected from 0:1.3.11.1-15.el7_9 to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 8
Versions Default: affected
  • unaffected from 8100020260904155442.25e700aa to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Versions Default: affected
  • unaffected from 8040020260901171549.96015a92 to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
Versions Default: affected
  • unaffected from 8040020260901171549.96015a92 to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Versions Default: affected
  • unaffected from 8080020260831180218.6dbb3803 to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Versions Default: affected
  • unaffected from 8080020260831180218.6dbb3803 to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 9
Versions Default: affected
  • unaffected from 0:2.8.0-10.el9_8 to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Versions Default: affected
  • unaffected from 0:2.2.4-22.el9_2 to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Versions Default: affected
  • unaffected from 0:2.4.5-29.el9_4 to * (excl.)
Vendor Red Hat
Product Red Hat Enterprise Linux 9.6 Extended Update Support
Versions Default: affected
  • unaffected from 0:2.6.1-24.el9_6 to * (excl.)
Vendor Red Hat
Product Red Hat Directory Server 11
Versions Default: affected
Vendor Red Hat
Product Red Hat Directory Server 12
Versions Default: affected
Vendor Red Hat
Product Red Hat Directory Server 13
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Enterprise Linux 10
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 6
Versions Default: affected

Workarounds

Administrators can restrict nsslapd-allowed-sasl-mechanisms to only the mechanisms actually required (e.g. GSSAPI, EXTERNAL, GSS-SPNEGO), excluding PLAIN. Since the exploit chain requires the first bind attempt to be a failed SASL PLAIN bind as cn=Directory Manager, removing PLAIN from the allowed mechanism list prevents that step entirely — this blocks both the originally reported variant (valid low-privileged account) and the zero-credential SASL ANONYMOUS variant, since both depend on the same initial PLAIN bind to plant the stale identity.

Credits

  • Red Hat would like to thank Chris Jarrett-Davies (OpenAI Security Research) for reporting this issue.

References

Problem Types

  • Improper Authentication CWE