# CVE-2026-1035: Org.keycloak.protocol.oidc: keycloak refresh token reuse bypass via toctou race condition

- Severity: Low 3.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-01-21T05:52:22.495Z
- Modified: 2026-06-17T10:14:53.580Z
- Also known as: GHSA-m2w5-7xhv-w6fh
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.4.11-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.4-14 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.4-14 before *)
- keycloak-services: no versions given
- org.keycloak:keycloak-services (Maven): up to 26.2.5

## Every score

- redhat: 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`
- GitHub: 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`

## References

- <https://access.redhat.com/errata/RHSA-2026:6477> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:6478> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-1035> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2430314> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-1035> (advisory)
- <https://github.com/keycloak/keycloak/issues/45647> (web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2026-1035](https://www.cve.org/CVERecord?id=CVE-2026-1035), CVE Terms of Use, modified 2026-04-02
- GitHub Advisory Database: [GHSA-m2w5-7xhv-w6fh](https://github.com/advisories/GHSA-m2w5-7xhv-w6fh), CC-BY-4.0, modified 2026-04-02
- NVD: [CVE-2026-1035](https://nvd.nist.gov/vuln/detail/CVE-2026-1035), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-1035 · Whole record: https://cve.day/CVE-2026-1035.json · Rebuilt by cve.day 2026-11-25T22:59:13.012Z
