{"id":"CVE-2026-87853","published":"2026-09-09T16:06:25Z","modified":"2026-11-24T21:58:52Z","title":"Sssd: sssd: idp authentication prefix comparison allows cross-user impersonation","vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00442,"percentile":0.30249,"provenance":"source"},"cwes":[{"id":"CWE-187","name":"Partial String Comparison"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:77534","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:98559","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-87853","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2530888","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":6.05},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-09T18:28:46.606582Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-75084","exploited":false,"provenance":"source"}}