{"answers":{"affected":"2 open source packages ship an affected version, including org.keycloak:keycloak-services. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-7784 in the wild and no public exploit code.","fix":"Upgrade org.keycloak:keycloak-services to 26.2.6 or later.","what":"CVE-2025-7784 is a medium-severity vulnerability in Redhat Build of Keycloak, published on 18 Jul 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-7784 and fix it if it is affected.\n\nWhat it is: CVE-2025-7784 is a medium-severity vulnerability in Redhat Build of Keycloak, published on 18 Jul 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-7784 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-services (Maven): affected from 26.2.0; fixed in 26.2.6\n- org.keycloak:keycloak-services (Maven): affected from 26.2.0; fixed in 26.2.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-7784/ (Markdown: https://insights.sbomify.com/CVE-2025-7784/index.md)","id":"CVE-2025-7784","markdown":"https://insights.sbomify.com/CVE-2025-7784/index.md","name":"CVE-2025-7784","record":{"aliases":["GHSA-27gp-8389-hm4w","MINI-7rq9-2q68-x4j8"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Keycloak identity management","requires_auth":"high_privilege","summary":"Administrative users with manage-users role can escalate to realm-admin in Keycloak when Fine-Grained Admin Permissions are enabled.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"build_of_keycloak","vendor":"redhat"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"A flaw was found in the Keycloak identity and access management system when Fine-Grained Admin Permissions(FGAPv2) are enabled. An administrative user with the manage-users role can escalate their privileges to realm-admin due to improper privilege enforcement. This vulnerability allows unauthorized elevation of access rights, compromising the intended separation of administrative duties and posing a security risk to the realm.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)","id":"CVE-2025-7784","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:build_of_keycloak","products":["redhat:build_of_keycloak"],"type":"privilege_escalation","year":"2025"},"n_packages":2,"n_references":5,"next":{"headline":"thinkgem JeeSite SsoController.java sso redirect","id":"CVE-2025-7785"},"packages":[{"ecosystem":"Maven","fixed":["26.2.6"],"introduced":["26.2.0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-27gp-8389-hm4w"},{"ecosystem":"Maven","fixed":["26.2.6"],"introduced":["26.2.0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-27gp-8389-hm4w"}],"prev":{"headline":"Usage of unsafe random function in form-data for choosing boundary","id":"CVE-2025-7783"},"products":["Red Hat JBoss Enterprise Application Platform 8","Red Hat JBoss Enterprise Application Platform Expansion Pack","Red Hat Single Sign-On 7","Red Hat build of Keycloak 26","Red Hat build of Keycloak 26.2"],"published":"2025-07-18","related":[{"cvss_score":8.8,"headline":"Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation","id":"CVE-2026-15572","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.8,"headline":"Keycloak SAML Broken has Authentication Bypass by Primary Weakness","id":"CVE-2026-3047","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":8.1,"headline":"Keycloak-services: keycloak-services: authorization bypass via unnormalized uri matching in pathmatcher","id":"CVE-2026-15573","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.1,"headline":"Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers","id":"CVE-2026-16102","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.1,"headline":"Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users","id":"CVE-2026-1609","kev_date_added":null,"published":"2026-07-16"},{"cvss_score":8.1,"headline":"Org.keycloak:keycloak-services: keycloak: authentication bypass via jwt algorithm confusion","id":"CVE-2026-11800","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":8.1,"headline":"Keycloak-policy-enforcer: keycloak policy enforcer: authorization bypass via incorrect uri comparison","id":"CVE-2026-9800","kev_date_added":null,"published":"2026-06-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-06","vendors":["Red Hat"]},"summary":"Administrative users with manage-users role can escalate to realm-admin in Keycloak when Fine-Grained Admin Permissions are enabled.","url":"https://insights.sbomify.com/CVE-2025-7784/"}