Security mailing lists by PureSourceCode

CVE-2026-50631

HIGH 7.4CVSS 3.1

Apache CXF OAuth2 TOCTOU Race Condition in Refresh Token Processing

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.

Published
12 Jun 2026
Last modified
5 Nov 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-367
Also known as
GHSA-83r6-96m8-r52p
Sources
NVDJSONOSV GHSA-83r6-96m8-r52pJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache cxf
cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
< 3.6.12 3.6.12
NVD apache cxf
cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.1.7 4.1.7
NVD apache cxf
cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
>= 4.2.0, < 4.2.2 4.2.2
OSV Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2 4.2.2
OSV Maven org.apache.cxf:cxf-rt-rs-security-oauth2 < 4.1.7 4.1.7

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 12 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.