CVE-2025-7784
Java vulnerability analysis and mitigation

Overview

CVE-2025-7784 is a privilege escalation vulnerability discovered in the Keycloak identity and access management system, specifically affecting systems with Fine-Grained Admin Permissions (FGAPv2) enabled. The vulnerability was disclosed on July 18, 2025, and affects Keycloak version 26.2.x. This security flaw allows an administrative user with the manage-users role to escalate their privileges to realm-admin due to improper privilege enforcement (Red Hat CVE).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N. The flaw is categorized under CWE-269 (Improper Privilege Management). The vulnerability exists in the admin permission enforcement logic, where privilege boundary checks are missing in role mapping operations via the admin REST interface (NVD, Red Hat Bugzilla).

Impact

The vulnerability compromises the intended separation of administrative duties and poses a security risk to the Keycloak realm. Successful exploitation allows complete administrative takeover of a Keycloak realm, potentially leading to unauthorized changes to users, roles, and realm configurations. The impact is particularly concerning in environments where multiple administrative users have restricted scopes (Red Hat CVE).

Mitigation and workarounds

Red Hat has released security updates to address this vulnerability in Red Hat build of Keycloak 26.2.6. The fix is available through security advisory RHSA-2025:12015 for standalone installations and RHSA-2025:12016 for container deployments. Users are advised to back up their existing installation, including all applications, configuration files, and databases before applying the update (Red Hat Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management