CVE-2026-97174

Keycloak-services: keycloak-services: ciba sub parameter injection causes attacker authentication to issue victim tokens

Published Nov 5, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the Client-Initiated Backchannel Authentication (CIBA) implementation of Keycloak. The CIBA endpoint fails to properly validate the sub parameter, allowing it to be stored as an additional request parameter. During the token issuance process, this injected value overwrites the legitimate subject identifier. This allows an attacker to authenticate as themselves but receive security tokens belonging to a different victim user, leading to unauthorized account access.

Analysis

AI-generated

Technical impact

An injection flaw in the Client‑Initiated Backchannel Authentication (CIBA) endpoint of Keycloak allows an attacker to supply a crafted "sub" parameter that is saved as an additional request field. During token issuance this injected value overwrites the legitimate subject identifier, giving the attacker a security token that represents a different, victim user. The weakness is a classic input‑validation flaw (CWE‑20) and results in the attacker receiving a token that they can use to act as that victim, effectively granting unauthorized account access.

Affected Systems

Red Hat’s Build of Keycloak and Red Hat Single Sign‑On 7 are affected. The report does not specify particular versions, so the vulnerability applies to all installations of these products that contain the issue, unless mitigated by restricting the CIBA endpoint.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. The EPSS score is not available, so the current exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is a crafted HTTP request to the publicly reachable CIBA endpoint; if an engine allows the sub parameter to be injected, the attacker can receive a token for an arbitrary user.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Restrict or disable the CIBA endpoint for untrusted clients, or disable the feature entirely if it is not required, to eliminate the injection surface.
  • Configure network segmentation or firewall rules to limit external access to the authentication server, and enforce strict access controls for the CIBA endpoint.
  • Monitor authentication logs and token issuance patterns for abnormal activity indicating potential token misuse.
  • Contact Red Hat support for any available patch or advisory and apply it as soon as a fix is released.

Generated by OpenCVE AI on November 5, 2026 at 20:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
Description A flaw was found in the Client-Initiated Backchannel Authentication (CIBA) implementation of Keycloak. The CIBA endpoint fails to properly validate the sub parameter, allowing it to be stored as an additional request parameter. During the token issuance process, this injected value overwrites the legitimate subject identifier. This allows an attacker to authenticate as themselves but receive security tokens belonging to a different victim user, leading to unauthorized account access.
Title Keycloak-services: keycloak-services: ciba sub parameter injection causes attacker authentication to issue victim tokens
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-20
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 5:12 PM
Reserved
Sep 24, 2026, 5:29 AM
Status
Awaiting Analysis
Published
Nov 5, 2026, 6:17 PM
Modified
Nov 6, 2026, 5:20 PM
Severity
Important
Public date
Nov 5, 2026, 12:00 AM