CVE-2026-0871
Org.keycloak/keycloak-services: keycloak: unauthorized modification of unmanaged user attributes by administrators
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used 4.9
Org.keycloak/keycloak-services: keycloak: unauthorized modification of unmanaged user attributes by administrators
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.
- Record
CVE-2026-0871- 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 - Weakness
- CWE-266
- Updated
- 2026-11-02
EUVDEUVD-2026-9005 4.9
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.
- Record
EUVD-2026-9005- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-v4jw-m6rm-399h 4.9
Keycloak Server Private SPI: Improper Access Control Allows Administrators to Bypass Attribute Visibility Restrictions and Modify Unmanaged User Profile Attributes
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.
- Record
GHSA-v4jw-m6rm-399h- 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 - Weakness
- CWE-266, CWE-284
- Updated
- 2026-11-02
NVD 4.9
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.
- Record
CVE-2026-0871- 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 - Weakness
- CWE-266
- Updated
- 2026-11-02
OSV 4.9
Org.keycloak/keycloak-services: keycloak: unauthorized modification of unmanaged user attributes by administrators
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.
- Record
CVE-2026-0871- 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 - Weakness
- CWE-266
- Updated
- 2026-11-02
OSVGHSA-v4jw-m6rm-399h 4.9
Keycloak Server Private SPI: Improper Access Control Allows Administrators to Bypass Attribute Visibility Restrictions and Modify Unmanaged User Profile Attributes
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.
- Record
GHSA-v4jw-m6rm-399h- 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 - Weakness
- CWE-266, CWE-284
- Updated
- 2026-11-02
OSVBIT-keycloak-2026-0871No score
Org.keycloak/keycloak-services: keycloak: unauthorized modification of unmanaged user attributes by administrators
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.
- Record
BIT-keycloak-2026-0871- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.keycloak:keycloak-server-spi-privateMaven | before 26.5.2 | 26.5.2 |
keycloakBitnami | before 26.4.9 | 26.4.9 |
org.keycloak:keycloak-server-spi-privateMaven | before 26.5.2, plus listed versions 10.0.010.0.110.0.211.0.011.0.1 Show 45 moreShow less11.0.211.0.312.0.012.0.112.0.212.0.312.0.413.0.013.0.114.0.015.0.015.0.115.0.215.1.015.1.116.0.016.1.016.1.117.0.017.0.118.0.018.0.118.0.219.0.019.0.119.0.219.0.32.4.0.CR12.4.0.Final2.5.0.CR12.5.0.Final2.5.1.Final2.5.4.Final2.5.5.Final20.0.020.0.120.0.220.0.320.0.420.0.521.0.021.0.121.0.221.1.021.1.1 | 26.5.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-0871 is a medium vulnerability (CVSS 4.9) in Redhat Keycloak, published February 27, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 28th percentile. Fixed in org.keycloak:keycloak-server-spi-private 26.5.2.
References
access.redhat.com/errata/RHSA-2026:2365
access.redhat.com/errata/RHSA-2026:2366
access.redhat.com/security/cve/CVE-2026-0871
bugzilla.redhat.com/show_bug.cgi?id=2428881
nvd.nist.gov/vuln/detail/CVE-2026-0871
github.com/keycloak/keycloak/issues/45873
Show 7 moreShow less
github.com/keycloak/keycloak/commit/9d0f679ecea405958f167fcd0f4a6db6ae32c3fa
github.com/advisories/GHSA-v4jw-m6rm-399h
access.redhat.com/downloads/content/package-browser
access.redhat.com/jbossnetwork/restricted/listSoftware.html
catalog.redhat.com/software/containers
github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0871.json
github.com/keycloak/keycloak
Left out here: 108 versions. The JSON record has them.