Advisory record · GHSA-83r6-96m8-r52p

Apache CXF OAuth2 TOCTOU Race Condition in Refresh Token Processing

CVSS 7.4 HighEPSS 0.0027 · 19th percentile

Published by the GitHub Advisory Database at 12 Jun 2026, 12:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.apache.cxf:cxf-rt-rs-security-oauth2Maven>=4.2.0, <4.2.2 || <4.1.74.2.2, 4.1.7
Identifiers
GHSA-83r6-96m8-r52p · CVE-2026-50631
Weakness (CWE)
CWE-367
Published
12 Jun 2026
Updated
20 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Apache CXF's cxf-rt-rs-security-oauth2 package, versions 4.2.0 up to but not including 4.2.2 and versions below 4.1.7, has a race condition in refresh token processing. When recycleRefreshTokens is set to false, concurrent requests using the same refresh token can each obtain a valid access token, bypassing single-use behavior. An attacker who has obtained a leaked refresh token can exploit this by replaying it concurrently. Upgrade to version 4.2.2 or 4.1.7.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.4 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0027, the 19th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 12 Jun 2026, 10:16 UTC Confirmed by NVD
  2. 31 Oct 2026, 14:19 UTC First seen by agentprime
  3. 31 Oct 2026, 14:19 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.