cve.bz

CVE-2026-87853 Sssd: sssd: idp authentication prefix comparison allows cross-user impersonation

7.5 highEPSS 0.4%Fix available

High (7.5) in red hat. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in SSSD's IdP authentication provider. The eval_access_token_buf() function compares the OIDC subject identifier using strncmp() with the authenticated user's identifier length, performing a prefix comparison instead of an exact match. An attacker whose IdP identifier is a strict prefix of a target user's identifier can authenticate as the target user.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (up from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-187 Partial String Comparison
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:2.12.0-3.el10_2.2
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:2.13.1-3.el10_3
  • Debian, Red Hat, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-87853 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-87853?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-87853?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-87853 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • red hat:red hat enterprise linux 10
  • red hat:red hat enterprise linux 6
  • red hat:red hat enterprise linux 7
  • red hat:red hat enterprise linux 8
  • red hat:red hat enterprise linux 9
  • red hat:red hat openshift container platform 4
  • red hat:red hat openshift container platform 5

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:2.12.0-3.el10_2.2
Red Hat Enterprise Linux 100:2.13.1-3.el10_3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14sssd2.13.1-5DEBIAN-CVE-2026-87853
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 4 moresssdno fix listedUBUNTU-CVE-2026-87853
Red Hatenterprise_linux:10.2sssd, sssd-ad, sssd-idp and 54 more0:2.12.0-3.el10_2.2RHSA-2026:77534
Red Hatenterprise_linux:10.3sssd, sssd-ad, sssd-idp and 54 more0:2.13.1-3.el10_3RHSA-2026:98559
openSUSETumbleweedsssd2.13.1-3.1openSUSE-SU-2026:11825-1
AlmaLinux10python3-sssdconfig2.12.0-3.el10_2.2ALSA-2026:77534
AlmaLinux10sssd, sssd-ad, sssd-idp and 26 more2.13.1-3.el10_3ALSA-2026:98559
Rocky Linux10sssd0:2.12.0-3.el10_2.2RLSA-2026:77534
Rocky Linux10sssd, sssd-ad, sssd-idp and 54 more0:2.13.1-3.el10_3RLSA-2026:98559

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The SSSD IdP authentication provider was introduced in upstream sssd-2.11.0 (commit cf3a1d85). Red Hat Enterprise Linux 10.2 is the first and only RHEL version that ships the IdP provider feature. RHEL 10.1, despite shipping sssd-2.11, did not build the IdP provider component. All earlier RHEL versions (7, 8, 9) ship SSSD versions that predate the IdP provider and are therefore not affected.

Exploitation requires SSSD to be configured with id_provider = idp and auth_provider = idp using Keycloak with LDAP User Federation in "Import Users = false" mode (non-default). In this configuration, Keycloak uses username-derived identifiers as the OIDC sub claim rather than random UUIDs, which can produce prefix relationships between user identifiers (e.g., "admin" vs "administrator"). The attacker requires only an ordinary IdP user account whose identifier is a strict prefix of the target's — no administrative or privileged access is needed.

The default Keycloak LDAP federation mode (Import Users = true) assigns random UUIDs that prevent prefix collisions, substantially reducing exposure.

Red Hat's mitigation

Deployments not using the IdP authentication provider (idp_type = keycloak) are not affected. For affected deployments: (1) If using Keycloak LDAP federation, switching to Import Users: enabled mode causes Keycloak to assign random UUIDs as sub claims, making prefix collisions astronomically unlikely. (2) Restrict PAM login to specific users via simple_allow_users or access_provider = simple. (3) Disable Keycloak self-registration to prevent attackers from creating accounts with chosen prefix usernames.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10sssd-0:2.12.0-3.el10_2.2Fixed 2026-10-08RHSA-2026:77534
Red Hat Enterprise Linux 6sssdOut of support scope
Red Hat Enterprise Linux 7sssdNot affected
Red Hat Enterprise Linux 8sssdNot affected
Red Hat Enterprise Linux 9sssdNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-87853.

References

Check your stackJSON