{"id":"CVE-2026-0871","published":"2026-02-27T07:30:26Z","modified":"2026-03-06T18:50:44Z","title":"Org.keycloak/keycloak-services: keycloak: unauthorized modification of unmanaged user attributes by administrators","vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00349,"percentile":0.29255,"provenance":"source"},"cwes":[{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:2365","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:2366","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-0871","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2428881","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":5.85},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-27T16:51:23.992734Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-server-spi-private","vulnerableRanges":["<26.5.2"],"patched":["26.5.2"],"from":["GHSA-v4jw-m6rm-399h"],"provenance":"source"}],"summary":{"text":"The flaw is an improper access control issue in Keycloak, shipped as part of Red Hat build of Keycloak 26.4, that lets an administrator bypass the \"Only administrators can view\" setting for unmanaged user attributes. An attacker who holds the manage-users permission, with network access, no user interaction, and the ability to authenticate as that administrator, can modify those unmanaged attributes and thereby alter user profiles even where the configuration is meant to restrict such changes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:40Z"},"euvd":{"id":"EUVD-2026-9005","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-build-of-keycloak-26-4-cve-2025-13881","parents":[{"from":"CVE-2025-13881","to":"CVE-2026-0871","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server-spi-private/src/main/java/org/keycloak/userprofile/DefaultAttributes.java"],"commits":["https://github.com/keycloak/keycloak/commit/1d7ab8d5fb1403902f5152820a8fc734d38b08d2","https://github.com/keycloak/keycloak/commit/c5c83d6604d4c73139f38fce3ed7b7c4c38c09f2","https://github.com/keycloak/keycloak/commit/9d0f679ecea405958f167fcd0f4a6db6ae32c3fa"],"basis":"shared function","functions":["getWritable"]}]}],"packageHistory":[{"cve":"CVE-2020-10776","published":"2020-11-17","fixed":"12.0.0","kev":false},{"cve":"CVE-2023-2585","published":"2023-12-21","fixed":"21.1.2","kev":false},{"cve":"CVE-2026-0871","published":"2026-02-27","fixed":"26.5.2","kev":false},{"cve":"CVE-2026-2603","published":"2026-03-18","fixed":"26.5.5","kev":false,"link":{"from":"CVE-2026-0871","to":"CVE-2026-2603","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-server-spi-private","fromFixed":"26.5.2","toFixed":"26.5.5","daysApart":19}]}},{"cve":"CVE-2026-3190","published":"2026-03-26","fixed":"26.5.6","kev":false},{"cve":"CVE-2026-9704","published":"2026-05-27","fixed":"26.6.3","kev":false}],"package":"Maven:org.keycloak:keycloak-server-spi-private"}}