GHSA-27gp-8389-hm4w

Suggest an improvement
Source
https://github.com/advisories/GHSA-27gp-8389-hm4w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-27gp-8389-hm4w/GHSA-27gp-8389-hm4w.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-27gp-8389-hm4w
Aliases
  • CVE-2025-7784
Published
2025-07-30T13:17:19Z
Modified
2025-07-30T13:44:34.004723Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Keycloak Privilege Escalation Vulnerability in Admin Console (FGAPv2 Enabled)
Details

A Privilege Escalation vulnerability was identified in the Keycloak identity and access management solution, specifically when FGAPv2 is enabled in version 26.2.x. The flaw lies in the admin permission enforcement logic, where a user with manage-users privileges can self-assign realm-admin rights. The escalation occurs due to missing privilege boundary checks in role mapping operations via the admin REST interface. A malicious administrator with limited permissions can exploit this by editing their own user roles, gaining unauthorized full access to realm configuration and user data.

This issue has been fixed in versions 26.2.6, and 26.3.0.

Database specific
{
    "github_reviewed": true,
    "severity": "MODERATE",
    "github_reviewed_at": "2025-07-30T13:17:19Z",
    "cwe_ids": [
        "CWE-269"
    ],
    "nvd_published_at": null
}
References

Affected packages

Maven / org.keycloak:keycloak-services

Package

Name
org.keycloak:keycloak-services
View open source insights on deps.dev
Purl
pkg:maven/org.keycloak/keycloak-services

Affected ranges

Type
ECOSYSTEM
Events
Introduced
26.2.0
Fixed
26.2.6

Affected versions

26.*

26.2.0
26.2.1
26.2.2
26.2.3
26.2.4
26.2.5