{"answers":{"affected":"4 open source packages ship an affected version, including org.keycloak:keycloak-services. It affects 4 products.","exploited":"There is no known exploitation of CVE-2026-4874 in the wild and no public exploit code.","fix":"Upgrade org.keycloak:keycloak-services to a fixed version for your release line: 26.4.13 or 26.6.3.","what":"CVE-2026-4874 is a low-severity server-side request forgery vulnerability in Redhat Build of Keycloak, published on 26 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-4874 and fix it if it is affected.\n\nWhat it is: CVE-2026-4874 is a low-severity server-side request forgery vulnerability in Redhat Build of Keycloak, published on 26 Mar 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-2026-4874 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.4.13\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 26.4.13\n- org.keycloak:keycloak-services (Maven): affected from 26.5.0; fixed in 26.6.3\n- org.keycloak:keycloak-services (Maven): affected from 26.5.0; fixed in 26.6.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-2026-4874/ (Markdown: https://insights.sbomify.com/CVE-2026-4874/index.md)","id":"CVE-2026-4874","markdown":"https://insights.sbomify.com/CVE-2026-4874/index.md","name":"CVE-2026-4874","record":{"aliases":["ECHO-1b74-757a-0a67","GHSA-22rm-wp4x-v5cx","MINI-fjg7-pcfc-jg7h","MINI-v6pv-3f3f-2qv5"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Keycloak identity server","requires_auth":"low_privilege","summary":"Authenticated attackers can perform SSRF via token endpoint manipulation in Keycloak when specific logout configurations are enabled, allowing internal network probing.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"build_of_keycloak","vendor":"redhat"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"jboss_enterprise_application_platform_expansion_pack","vendor":"redhat"},{"product":"single_sign-on","vendor":"redhat"}],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"A flaw was found in Keycloak. An authenticated attacker can perform Server-Side Request Forgery (SSRF) by manipulating the `client_session_host` parameter during refresh token requests. This occurs when a Keycloak client is configured to use the `backchannel.logout.url` with the `application.session.host` placeholder. Successful exploitation allows the attacker to make HTTP requests from the Keycloak server’s network context, potentially probing internal networks or internal APIs, leading to information disclosure.","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 Server-Side Request Forgery via OIDC token endpoint manipulation","id":"CVE-2026-4874","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:build_of_keycloak","products":["redhat:build_of_keycloak","redhat:jboss_enterprise_application_platform","redhat:single_sign-on"],"type":"ssrf","year":"2026"},"n_packages":4,"n_references":6,"next":{"headline":"itsourcecode Free Hotel Reservation System index.php unrestricted upload","id":"CVE-2026-4875"},"packages":[{"ecosystem":"Maven","fixed":["26.4.13"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-22rm-wp4x-v5cx"},{"ecosystem":"Maven","fixed":["26.4.13"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-22rm-wp4x-v5cx"},{"ecosystem":"Maven","fixed":["26.6.3"],"introduced":["26.5.0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-22rm-wp4x-v5cx"},{"ecosystem":"Maven","fixed":["26.6.3"],"introduced":["26.5.0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-22rm-wp4x-v5cx"}],"prev":{"headline":"connection reuse ignores TLS requirement","id":"CVE-2026-4873"},"products":["Red Hat Build of Keycloak","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.4","Red Hat build of Keycloak 26.4.13","Red Hat build of Keycloak 26.6","Red Hat build of Keycloak 26.6.3"],"published":"2026-03-26","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":"partial"},"state":"PUBLISHED","updated":"2026-06-26","vendors":["Red Hat"]},"summary":"Authenticated attackers can perform SSRF via token endpoint manipulation in Keycloak when specific logout configurations are enabled, allowing internal network probing.","url":"https://insights.sbomify.com/CVE-2026-4874/"}