7.4

CVE-2026-50631: Apache CXF: OAuth2: TOCTOU Race Condition in Refresh Token Processing

Analyzed
AliasesGHSA-83r6-96m8-r52p
Published 12-06-2026Last modified 07-08-2026

Vulnerability summary

CVE-2026-50631 is a high (CVSS 7.4) vulnerability in apache software foundation apache cxf. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 21% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.4/10
010
High · v3.1 (CVE.org)
EPSS score
0.27%
0%100%
Low · -0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 12-06-2026
    PublishedVulnerability first disclosed.
  2. 07-08-2026
    Last modifiedVulnerability information updated.

Description

A race condition in AbstractOAuthDataProvider allows concurrent requests using the same Refresh Token to bypass single-use semantics and generate multiple valid Access Tokens, when 'recycleRefreshTokens' is set to false. A leaked refresh token can be replayed concurrently by multiple attackers or threads. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fixes this issue.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

21%

Versus all other CVEs

30-day change

Decrease -0.02 pp

From 0.29% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Apache1 product
  • cxf< 4.1.7 | < 3.6.12 | ≥ 4.0.0, < 4.1.7 | ≥ 4.2.0, < 4.2.2
Apache software foundation1 product
  • apache cxf≥ 4.2.0, < 4.2.2 | ≥ 4.0.0, < 4.1.7 | < 3.6.12
Org.apache.cxf1 product
  • cxf-rt-rs-security-oauth2≥ 4.2.0, < 4.2.2 | < 4.1.7

3 vendors · 3 products

References

4 links