# CVE-2026-0871: Keycloak Server Private SPI: Improper Access Control Allows Administrators to Bypass Attribute Visibility Restrictions…

Source: https://junglewise.ai/threats/cve-2026-0871-keycloak-server-private-spi-improper-access-control-allows  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-02-27  
License: CC BY 4.0 with a link back

CVE-2026-0871 · Severity: low · CVSS 3.1 · Published 2026-02-27

Keycloak Server Private SPI: Improper Access Control Allows Administrators to Bypass Attribute Visibility Restrictions and Modify Unmanaged User Profile Attributes

Technologies: [org.keycloak:keycloak-server-spi-private (Maven)](https://junglewise.ai/threats/technologies/org-keycloak-keycloak-server-spi-private). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2026-0871 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-0871 being exploited in the wild.

**How severe is CVE-2026-0871?** Low severity, with a CVSS score of 3.1, published 27 February 2026.

**Which products and versions are affected?** org.keycloak:keycloak-server-spi-private (Maven) ECOSYSTEM:introduced=0,fixed=26.5.2.

**Is there a fix for CVE-2026-0871?** Yes. org.keycloak:keycloak-server-spi-private (Maven): upgrade to 26.5.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-0871?** Check whether you run org.keycloak:keycloak-server-spi-private (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.keycloak:keycloak-server-spi-private (Maven): upgrade to 26.5.2 or later

  ```sh
  # set org.keycloak:keycloak-server-spi-private to 26.5.2 in your pom.xml or build.gradle
  ```


## Affected products

- org.keycloak:keycloak-server-spi-private (Maven) ECOSYSTEM:introduced=0,fixed=26.5.2

## Identifiers

- CVE-2026-0871
- GHSA-v4jw-m6rm-399h

## Related threats

- [Red Hat Keycloak Incorrect Authorization in Organizations Feature](https://junglewise.ai/threats/cve-2026-9791-red-hat-keycloak-incorrect-authorization-in-organizations-feature)
- [Keycloak privilege escalation via oversized subject_token JWT](https://junglewise.ai/threats/cve-2026-9704-keycloak-privilege-escalation-via-oversized-subject-token-jwt)
- [Keycloak: Missing Role Enforcement on UMA 2.0 Permission Ticket Endpoint Leads to Information Disclosure](https://junglewise.ai/threats/cve-2026-3190-keycloak-missing-role-enforcement-on-uma-2-0-permission-ticket)
- [Keycloak SAML broker authentication bypass via disabled Identity Provider](https://junglewise.ai/threats/cve-2026-2603-keycloak-saml-broker-authentication-bypass-via-disabled-identity)
- [Client Spoofing within the Keycloak Device Authorisation Grant](https://junglewise.ai/threats/cve-2023-2585-client-spoofing-within-the-keycloak-device-authorisation-grant)
