{"answers":{"affected":"6 open source packages ship an affected version, including org.keycloak:keycloak-services.","exploited":"There is no known exploitation of CVE-2025-14778 in the wild and no public exploit code.","fix":"Upgrade org.keycloak:keycloak-services to a fixed version for your release line: 26.2.13, 26.4.9 or 26.5.3.","what":"CVE-2025-14778 is a medium-severity missing authorization vulnerability in Red Hat build of Keycloak 26.2, published on 9 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-14778 and fix it if it is affected.\n\nWhat it is: CVE-2025-14778 is a medium-severity missing authorization vulnerability in Red Hat build of Keycloak 26.2, published on 9 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-14778 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 26.2.13\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 26.2.13\n- org.keycloak:keycloak-services (Maven): affected from 26.3.0; fixed in 26.4.9\n- org.keycloak:keycloak-services (Maven): affected from 26.3.0; fixed in 26.4.9\n- org.keycloak:keycloak-services (Maven): affected from 26.5.0; fixed in 26.5.3\n- org.keycloak:keycloak-services (Maven): affected from 26.5.0; fixed in 26.5.3\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-14778/ (Markdown: https://insights.sbomify.com/CVE-2025-14778/index.md)","id":"CVE-2025-14778","markdown":"https://insights.sbomify.com/CVE-2025-14778/index.md","name":"CVE-2025-14778","record":{"aliases":["ECHO-a380-e585-5861","GHSA-fm6w-rrp3-2x4w","MINI-29v2-j8ww-hp96","MINI-2g82-mfv8-7jcc"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Keycloak identity server","requires_auth":"low_privilege","summary":"Attackers can modify authorization rules for resources they do not own by exploiting incorrect ownership checks in the UMA Protection API.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"description":"A flaw was found in Keycloak. A significant Broken Access Control vulnerability exists in the UserManagedPermissionService (UMA Protection API). When updating or deleting a UMA policy associated with multiple resources, the authorization check only verifies the caller's ownership against the first resource in the policy's list. This allows a user (Owner A) who owns one resource (RA) to update a shared policy and modify authorization rules for other resources (e.g., RB) in that same policy, even if those other resources are owned by a different user (Owner B). This constitutes a horizontal privilege escalation.","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":"Keycloak: incorrect ownership checks in /uma-policy/","id":"CVE-2025-14778","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":6,"n_references":6,"next":{"headline":"Improper Access Control via Secret Type Management API in WSO2 Identity Server","id":"CVE-2025-14779"},"packages":[{"ecosystem":"Maven","fixed":["26.2.13"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-fm6w-rrp3-2x4w"},{"ecosystem":"Maven","fixed":["26.2.13"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-fm6w-rrp3-2x4w"},{"ecosystem":"Maven","fixed":["26.4.9"],"introduced":["26.3.0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-fm6w-rrp3-2x4w"},{"ecosystem":"Maven","fixed":["26.4.9"],"introduced":["26.3.0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-fm6w-rrp3-2x4w"},{"ecosystem":"Maven","fixed":["26.5.3"],"introduced":["26.5.0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-fm6w-rrp3-2x4w"},{"ecosystem":"Maven","fixed":["26.5.3"],"introduced":["26.5.0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-fm6w-rrp3-2x4w"}],"prev":{"headline":"Keycloak: keycloak idor in realm client creating/deleting","id":"CVE-2025-14777"},"products":["Red Hat build of Keycloak 26.2","Red Hat build of Keycloak 26.2.13","Red Hat build of Keycloak 26.4","Red Hat build of Keycloak 26.4.9"],"published":"2026-02-09","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-10","vendors":["Red Hat"]},"summary":"Attackers can modify authorization rules for resources they do not own by exploiting incorrect ownership checks in the UMA Protection API.","url":"https://insights.sbomify.com/CVE-2025-14778/"}