Skip to main content

Apache CXF CVE-2026-50631

| EUVD-2026-36399 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
7.4
CVSS 3.1 · Vendor
Share

Severity by source

Vendor (CNA) PRIMARY
7.4 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI
7.4 HIGH

Network-reachable OAuth endpoint (AV:N); attacker needs a leaked refresh token and must win a timing race (AC:H); server requires no authentication beyond the stolen token (PR:N); duplicate access tokens enable session theft (C:H/I:H), no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

7
Analysis Updated
Jun 12, 2026 - 15:29 vuln.today
v3 (cvss_changed)
Analysis Updated
Jun 12, 2026 - 15:28 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jun 12, 2026 - 15:22 vuln.today
cvss_changed
Severity Changed
Jun 12, 2026 - 15:22 NVD
CRITICAL HIGH
CVSS changed
Jun 12, 2026 - 15:22 NVD
7.4 (CRITICAL) 7.4 (HIGH)
Patch available
Jun 12, 2026 - 11:01 EUVD
Analysis Generated
Jun 11, 2026 - 18:20 vuln.today

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

AnalysisAI

Refresh token replay in Apache CXF's OAuth2 provider lets remote attackers concurrently exchange a single leaked refresh token for multiple valid access tokens, breaking the single-use property defenders rely on. The flaw lives in AbstractOAuthDataProvider and only manifests when deployments set 'recycleRefreshTokens' to false. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Obtain leaked refresh token
Delivery
Identify CXF OAuth /token endpoint
Exploit
Fire concurrent refresh_token grant requests
Execution
Win TOCTOU race in AbstractOAuthDataProvider
Persist
Receive multiple valid access tokens
Impact
Replay tokens against protected resource APIs

Vulnerability AssessmentAI

Exploitation Requires (1) the target deployment to expose Apache CXF's cxf-rt-rs-security-oauth2 authorization-server endpoints, (2) the non-default configuration 'recycleRefreshTokens=false' on the AbstractOAuthDataProvider, and (3) the attacker to already possess a valid, unexpired refresh token belonging to a victim - the bug does not let an attacker forge or guess refresh tokens. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment Signals diverge sharply. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker who has obtained a victim's refresh token (e.g., via a logged proxy, a compromised mobile device backup, or a leaked client log) fires two or more simultaneous POST /token grant_type=refresh_token requests to the CXF authorization endpoint from parallel threads. Because the check-then-issue path is not atomic, multiple requests pass validation before any marks the refresh token consumed, and the attacker walks away with several independently valid access tokens that can be used in parallel or distributed to collaborators. …
Remediation Vendor-released patch: upgrade to Apache CXF 4.2.2 (for the 4.2.x line) or 4.1.7 (for the 4.1.x line), per the project advisory at https://cxf.apache.org/ and the oss-security thread https://seclists.org/oss-sec/2026/q2/891. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: Identify all systems using Apache CXF OAuth2 and verify their 'recycleRefreshTokens' configuration settings. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-50631 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy