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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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-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-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-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

CVE-2026-9087 HIGH
8.1 May 20

Identity linking bypass in Red Hat build of Keycloak allows an attacker controlling a second account on the same upstrea

CVE-2026-4636 HIGH
8.1 Apr 02

Authenticated users with uma_protection role in Red Hat Keycloak can bypass User-Managed Access policy validation to gai

CVE-2026-9099 HIGH
7.7 Jun 25

Privilege escalation in Keycloak (Red Hat Build of Keycloak) lets an authenticated delegated admin with management right

CVE-2026-4634 HIGH
7.5 Apr 02

Denial of Service in Red Hat Build of Keycloak allows unauthenticated remote attackers to exhaust server resources by su

CVE-2026-7507 HIGH
7.5 May 19

Session fixation in Keycloak's login-actions endpoints allows remote attackers to hijack authenticated sessions and take

CVE-2026-4282 HIGH
7.4 Apr 02

Authorization code forgery in Red Hat Keycloak enables unauthenticated attackers to escalate privileges to admin-level a

CVE-2026-9086 HIGH
7.3 Jun 25

Stored Cross-Site Scripting in Red Hat Build of Keycloak lets an authenticated administrator with `manage-client` permis

CVE-2026-3872 HIGH
7.3 Apr 02

Open redirect in Red Hat Build of Keycloak allows authenticated attackers with control over another path on the same web

CVE-2026-9795 HIGH
7.3 May 28

Privilege escalation in Keycloak's Fine-Grained Admin Permissions v2 (FGAPv2) allows an administrator with only limited

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