Back to CVE records
High 7.4Published Jun 12, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects Apache Software Foundation Apache CXF and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
7.4 HIGH (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-367
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
apache
NVD analysis
Modified
Record last updated
Aug 7, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Apache Software Foundation Apache CXF
apache_software_foundation:apache_cxf (from the name)
from 4.2.0 before 4.2.2; from 4.0.0 before 4.1.7; before 3.6.12
CNA record
apache cxf
apache:cxf
before 4.1.7; from 4.2.0 before 4.2.2
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.