CVE-2026-9087 — Keycloak Vulnerability
CVE-2026-9087 — A flaw was found in Keycloak. The cross-session verification proof is keyed only by (local userId, idpAlias) and is not bound to the upstream identity that was actually verified, so a second upstream account on the same IdP can consume it and get linked to the victim's local account.
What This Means For You
- If your environment is affected by CWE-639, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-9087 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
2 rules · 6 SIEM formats2 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-9087 - Keycloak Cross-Session Verification Exploit Attempt
title: CVE-2026-9087 - Keycloak Cross-Session Verification Exploit Attempt
id: scw-2026-05-20-ai-1
status: experimental
level: high
description: |
Detects attempts to exploit CVE-2026-9087 by sending a POST request to a Keycloak realm endpoint with a 'session_code' parameter. This indicates an attempt to leverage the cross-session verification flaw where an attacker might try to link a second upstream account on the same IdP to a victim's local account.
author: SCW Feed Engine (AI-generated)
date: 2026-05-20
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-9087/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: webserver
detection:
selection:
cs-uri|contains:
- '/realms/'
cs-uri-query|contains:
- 'session_code='
cs-method:
- 'POST'
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-9087 | vulnerability | CVE-2026-9087 |
| CWE-639 | weakness | CWE-639 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 20, 2026 at 20:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.