All reports
Medium

sssd: sssd: IdP authentication prefix comparison allows cross-user impersonation

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-87853

Probability of exploitation in the next 30 days: 0.44%

FIRST EPSS · 2026-11-20

Description

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.

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.