Skip to main content

Keycloak CVE-2026-7307

| EUVDEUVD-2026-30883 HIGH
Improper Validation of Syntactic Correctness of Input (CWE-1286)
2026-05-19 redhat GHSA-p5mv-gj8j-xqgf
7.5
CVSS 3.1 · Vendor: redhat
Share

Severity by source

Vendor (redhat) PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat
7.5 HIGH
qualitative

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Analysis Generated
May 19, 2026 - 12:00 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 38 maven packages depend on org.keycloak:keycloak-saml-core (9 direct, 29 indirect)

Ecosystem-wide dependent count for version 26.6.2.

DescriptionCVE.org

A flaw was found in Keycloak. A remote, unauthenticated attacker can send a specially crafted XML input to the Security Assertion Markup Language (SAML) endpoint. This malicious input can cause high CPU usage and worker thread starvation, leading to a Denial of Service (DoS) where the server becomes unavailable.

AnalysisAI

Denial of service in Red Hat build of Keycloak allows remote unauthenticated attackers to exhaust CPU and worker threads by submitting specially crafted XML payloads to the SAML endpoint. The flaw renders the identity provider unavailable, disrupting authentication for all downstream applications relying on it. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.

Technical ContextAI

Keycloak is an open-source identity and access management solution maintained by Red Hat that implements federation protocols including SAML 2.0. The vulnerability resides in the SAML endpoint's XML input validation logic and maps to CWE-1286 (Improper Validation of Syntactic Correctness of Input), a class of bugs where malformed or pathologically structured input is accepted by a parser without enforcing structural constraints. When such input reaches the SAML processing pipeline, parsing becomes computationally expensive, monopolizing worker threads in the application server's request-handling pool until legitimate authentication requests can no longer be serviced. The affected component is identified in CPE data as cpe:2.3:a:red_hat:red_hat_build_of_keycloak across all listed versions.

RemediationAI

No vendor-released patch version is identified at time of analysis in the supplied data; monitor the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-7307 and Bugzilla entry https://bugzilla.redhat.com/show_bug.cgi?id=2476526 for the fixed build and apply it as soon as available. Until a patch is published, compensating controls include restricting network access to the SAML endpoints (typically /realms/{realm}/protocol/saml) to known identity provider peers and service providers via a reverse proxy or WAF ACL, which reduces exposure but breaks federation with unlisted partners; deploying rate limiting on SAML POST/Redirect bindings to cap requests per source IP, which can blunt single-source flooding but is bypassed by distributed sources; placing a WAF rule that rejects abnormally large or deeply nested XML bodies before they reach Keycloak, which mitigates the parsing cost but may false-positive on legitimate complex assertions; and disabling SAML realms entirely if the deployment uses only OIDC, which eliminates the attack surface at the cost of breaking any SAML-dependent integrations.

CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

CVE-2026-7504 HIGH
8.1 May 19

Open redirect in Red Hat build of Keycloak permits remote attackers to send victims to attacker-controlled hosts by abus

Vendor StatusVendor

Share

CVE-2026-7307 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy