Read the docs
TI-2026-37321 Aliases CVE-2026-50631GHSA-83r6-96m8-r52p

Apache CXF: OAuth2: TOCTOU Race Condition in Refresh Token Processing

Priority LOW 34CWE-367Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00273 19th percentileScored 2026-11-07
Fix Fixed Apache CXF (Apache Software Foundation): 4.2.2, 4.1.7, 3.6.12org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven): 4.2.2, 4.1.7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache CXF4.2.0 to before 4.2.2; 4.0.0 to before 4.1.7; before 3.6.124.2.2, 4.1.7, 3.6.12Patch availableCNA
—org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven)4.2.0 to before 4.2.24.2.2Patch availableGHSA-83r6-96m8-r52p
—org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven)before 4.1.74.1.7Patch availableGHSA-83r6-96m8-r52p
  • Apache CXF VendorApache Affected 4.2.0 to before 4.2.2; 4.0.0 to before 4.1.7; before 3.6.12 Fixed in 4.2.2, 4.1.7, 3.6.12 Patch available CNA
  • org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) Vendor— Affected 4.2.0 to before 4.2.2 Fixed in 4.2.2 Patch available GHSA-83r6-96m8-r52p
  • org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) Vendor— Affected before 4.1.7 Fixed in 4.1.7 Patch available GHSA-83r6-96m8-r52p

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*before 3.6.12; 4.0.0 to before 4.1.7; 4.2.0 to before 4.2.2VulnerableApache
  • cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* Versions before 3.6.12; 4.0.0 to before 4.1.7; 4.2.0 to before 4.2.2 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache CXF (Apache Software Foundation) Fixed in 4.2.2, 4.1.7, 3.6.12
  • Fix · GHSA-83r6-96m8-r52p org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) Fixed in 4.2.2 Advisory →
  • Fix · GHSA-83r6-96m8-r52p org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) Fixed in 4.1.7 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Apache CXF 3.6.12, 4.1.7, 4.2.2

    11 records Highest priority Priority MEDIUM 3 MEDIUM, 8 LOW

    Other records, highest priority first

    • TI-2026-37318 Apache CXF: OAuth2: Inverted IP Binding Check Defeats Security ControlPriority MEDIUM 50
    • TI-2026-37317 Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token ValidatorPriority MEDIUM 48
    • TI-2026-36773 Apache CXF: XML External Entity (XXE) Injection in W3CMultiSchemaFactory and EndpointReferenceUtilsPriority MEDIUM 43

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-50631
  2. 2026-10-03 Alias added: GHSA-83r6-96m8-r52p

References

  • TI-2019-09264 Incorrect authorization in Apache CXF CVSS 3.1CRITICAL 9.8
  • TI-2020-10930 Apache CXF Reflected XSS in the services listing page via the styleSheetPath CVSS 3.1MEDIUM 6.1
  • TI-2010-01990 Apache CXF 2.0.x before 2.0.13, 2.1.x before 2.1.10, and 2.2.x before 2.2.9, as used in… CVSS 3.1CRITICAL 9.8
  • TI-2022-22907 Apache CXF SSRF Vulnerability CVSS 3.1CRITICAL 9.8
  • TI-2026-47481 Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage CVSS 3.1CRITICAL 9.8
  • TI-2025-31053 Apache CXF: Untrusted JMS configuration can lead to RCE CVSS 3.1CRITICAL 9.8
See all 79 →

Sources