Bug 2530888 (CVE-2026-87853) - CVE-2026-87853 sssd: sssd: IdP authentication prefix comparison allows cross-user impersonation
Summary: CVE-2026-87853 sssd: sssd: IdP authentication prefix comparison allows cross-...
Keywords:
Status: NEW
Alias: CVE-2026-87853
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2530989
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-09 13:13 UTC by OSIDB Bzimport
Modified: 2026-11-11 11:19 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:77534 0 None None None 2026-10-08 11:08:54 UTC
Red Hat Product Errata RHSA-2026:98559 0 None None None 2026-11-11 11:19:14 UTC

Description OSIDB Bzimport 2026-09-09 13:13:03 UTC
A flaw was found in SSSD's IdP authentication provider. The eval_access_token_buf() function in src/providers/idp/idp_auth_eval.c compares the authenticated user's OIDC subject identifier against the requested user's stored SYSDB_UUID using strncmp() with the authenticated identifier's length as the count. This performs a prefix comparison rather than an exact match. An attacker whose complete IdP identifier is a strict prefix of a target user's identifier can authenticate as the target, gaining full access to the target's account, files, groups, and local authorization. With Keycloak's built-in LDAP provider (Import Users disabled), the identifier format f:<federation_id>:<username> naturally produces prefix relationships for usernames like 'admin' and 'administrator'. No victim credential, interaction, or administrative role is required.

Comment 1 Jon Orris 2026-10-08 11:08:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:77534 https://access.redhat.com/errata/RHSA-2026:77534

Comment 2 errata-xmlrpc 2026-11-11 11:19:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98559 https://access.redhat.com/errata/RHSA-2026:98559


Note You need to log in before you can comment on or make changes to this bug.