Time-of-check Time-of-use (TOCTOU) Affecting keycloak-doc package, versions <26.3.0-r0


Severity

Recommended
0.0
low
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.03% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Time-of-check Time-of-use (TOCTOU) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-MINIMOSLATEST-KEYCLOAKDOC-15169312
  • published2 Feb 2026
  • disclosed21 Jan 2026

Introduced: 21 Jan 2026

CVE-2026-1035  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Minimos:latest keycloak-doc to version 26.3.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak-doc package and not the keycloak-doc package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1