cve.bz

CVE-2026-0871 redhat: Incorrect Privilege Assignment

4.9 mediumEPSS 0.3%Fix available

Medium (4.9) in redhat. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-server-spi-private 26.5.2.

On this page
A flaw was found in Keycloak. An administrator with `manage-users` permission can bypass the "Only administrators can view" setting for unmanaged attributes, allowing them to modify these attributes. This improper access control can lead to unauthorized changes to user profiles, even when the system is configured to restrict such modifications.

Severity

CVSS 3.1

4.9 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-02-27. 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-266 Incorrect Privilege Assignment
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-0871 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-0871?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-0871?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-0871 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

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat build of Keycloak 26.426.4.9-1
Red Hat build of Keycloak 26.426.4-11
Red Hat build of Keycloak 26.426.4-10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v4jw-m6rm-399hMavenorg.keycloak:keycloak-server-spi-private<26.5.226.5.2

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat. An administrator with `manage-users` permission can modify unmanaged user attributes in Keycloak, even when the "Only administrators can view" setting is enabled. This bypass requires the realm to be configured with unmanaged attributes set to "Only administrators can view" and the administrator to possess `manage-users` permission.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat build of Keycloak 26.4rhbk/keycloak-operator-bundle:26.4.9-1Fixed 2026-02-09RHSA-2026:2366
Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9:26.4-11Fixed 2026-02-09RHSA-2026:2366
Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9-operator:26.4-10Fixed 2026-02-09RHSA-2026:2366
Red Hat build of Keycloak 26.4.9rhbk/keycloak-rhel9Fixed 2026-02-09RHSA-2026:2365
Red Hat JBoss Enterprise Application Platform 8keycloak-servicesFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packkeycloak-servicesFix deferred
Red Hat Single Sign-On 7keycloak-servicesFix deferred

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-0871.

References

Check your stackJSON