CVE-2026-1035

LOW

Org.keycloak Keycloak-services - TOCTOU Race Condition

Title source: rule

Description

A flaw was found in the Keycloak server during refresh token processing, specifically in the TokenManager class responsible for enforcing refresh token reuse policies. When strict refresh token rotation is enabled, the validation and update of refresh token usage are not performed atomically. This allows concurrent refresh requests to bypass single-use enforcement and issue multiple access tokens from the same refresh token. As a result, Keycloak’s refresh token rotation hardening can be undermined.

Scores

CVSS v3 3.1
EPSS 0.0003
EPSS Percentile 9.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Classification

CWE
CWE-367
Status draft

Affected Products (1)

org.keycloak/keycloak-services Maven

Timeline

Published Jan 21, 2026
Tracked Since Feb 18, 2026