Security Resilience

CVE-2026-9704

Redhat Build Of Keycloak

Published
27 May 2026
Modified
26 June 2026
Patch / advisory
CVSS Score v3.1 6.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0059 42th percentile
Risk Priority 52 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-9704 is a medium-severity Improper Validation of Specified Quantity in Input (CWE-1284) vulnerability in Redhat Build Of Keycloak. Its CVSS base score is 6.8 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked at the 42th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

A flaw was found in Keycloak. An authenticated user with low privileges can exploit this vulnerability by sending an oversized subject_token JSON Web Token (JWT) to the TokenEndpoint. When the token exceeds a 4000-character limit, it is silently dropped, causing…

more

the system to fall back to client credentials. This allows the user to gain the permissions of the client's service account, leading to privilege escalation.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
T1657 Financial Theft Impact
Adversaries may steal monetary resources from targets through extortion, social engineering, technical theft, or other methods aimed at their own financial gain at the expense of the availability of these resources for victims.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-9801Same product: Redhat Build Of Keycloak
CVE-2026-15572Same product: Redhat Build Of Keycloak
CVE-2026-9803Same product: Redhat Build Of Keycloak
CVE-2026-15943Same product: Redhat Build Of Keycloak
CVE-2026-9083Same product: Redhat Build Of Keycloak
CVE-2026-14781Same product: Redhat Build Of Keycloak
CVE-2026-9689Same product: Redhat Build Of Keycloak
CVE-2026-7307Same product: Redhat Build Of Keycloak
CVE-2026-9796Same product: Redhat Build Of Keycloak
CVE-2026-2092Same product: Redhat Build Of Keycloak

Affected Assets

redhat
build of keycloak
all versions

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V6.7.2
  • V1.4.2
  • V2.2.1
  • V2.2.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SI-10 requires validity checks on information inputs, directly stopping acceptance of malformed quantities before they can be used.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require proper quantity/length validation in input handling.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect missing quantity validation but does not itself implement the control.

prevents

Secure coding standards require explicit checks on numeric quantity inputs, fully addressing CWE-1284.

finds

A.8.8's reach is DISCLOSURE-based (vulnerability scanning against published advisories and component inventory). CWE-1284 is primarily a first-party input-validation code defect that A.8.8 does not inspect; it is found only where the weakness surfaces as a published CVE in a third-party component, which is a minority of instances.

References