cve.bz

CVE-2026-1035

3.1 lowEPSS 0.3%Fix available

Low (3.1). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.1 low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-01-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat build of Keycloak 26.4: fixed in 26.4.11-1
  • Red Hat Red Hat build of Keycloak 26.4: fixed in 26.4-14

Ask an AI about this CVE

Show the promptExplain CVE-2026-1035 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-1035?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-1035?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-1035 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat build of Keycloak 26.426.4.11-1
Red Hat build of Keycloak 26.426.4-14

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m2w5-7xhv-w6fhMavenorg.keycloak:keycloak-services<=26.2.5no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu24.04:LTS, 25.10, 26.10python-keycloakno fix listedUBUNTU-CVE-2026-1035

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is rated LOW for Red Hat. A race condition in the Keycloak TokenManager allows an attacker to bypass the refreshTokenMaxReuse security policy when it is explicitly configured for strict single-use (set to zero). This enables a single refresh token to be exchanged for multiple valid access tokens through concurrent requests, undermining the Refresh Token Rotation hardening measure.

Red Hat's mitigation

To mitigate this issue, configure the `refreshTokenMaxReuse` policy in Keycloak to a value greater than zero. This prevents the race condition by allowing a limited number of reuses for refresh tokens, thereby maintaining the integrity of the Refresh Token Rotation hardening measure. Consult Keycloak documentation for specific configuration instructions. Changes to Keycloak configuration typically require a service restart or redeployment to take effect.

ProductPackageStateAdvisory
Red Hat build of Keycloak 26.4rhbk/keycloak-operator-bundle:26.4.11-1Fixed 2026-04-02RHSA-2026:6478
Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9:26.4-14Fixed 2026-04-02RHSA-2026:6478
Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9-operator:26.4-14Fixed 2026-04-02RHSA-2026:6478
Red Hat build of Keycloak 26.4.11rhbk/keycloak-rhel9Fixed 2026-04-02RHSA-2026:6477
Red Hat JBoss Enterprise Application Platform 8keycloak-servicesNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packkeycloak-servicesNot affected
Red Hat Single Sign-On 7keycloak-servicesNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-1035.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON