Skip to main content

Apache CXF EUVDEUVD-2026-53858

| CVE-2026-68079 CRITICAL
Authentication Bypass by Capture-replay (CWE-294)
2026-08-06 apache GHSA-7mxw-qv85-693m
9.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Position to intercept OAuth redirect
  2. Delivery
    Capture authorization code from HTTP traffic or logs
  3. Exploit
    Replay code to CXF token endpoint
  4. Execution
    Receive valid access token
  5. Persist
    Repeat exchange for additional tokens
  6. Impact
    Access protected resources as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Replay attack prevention
Exploitation Conditions

Exploitation requires that the target Apache CXF instance is deployed as an OAuth 2.0 authorization server using the DefaultEncryptingCodeDataProvider class specifically. Deployments that use alternative code providers or that do not implement the authorization code grant flow are not affected. An attacker must first obtain a valid, unexpired authorization code issued to a legitimate user - this typically requires network interception, access to server/proxy logs that record authorization code values, or exploitation of HTTP referrer header leakage from redirect URIs. Exploitation is limited to the authorization code grant type; client credentials, implicit, and resource owner password grants are not affected by this flaw. The victim user must have initiated an OAuth authorization flow to generate the code in the first place.

Impact

No CVSS score or vector was provided in the source data, so risk must be inferred from the description and CWE. The exploit requires the attacker to first capture a valid authorization code - a non-trivial prerequisite that implies high attack complexity (e.g., network interception, MITM position, log access, or referrer header leakage). User interaction is required because a legitimate user must initiate the OAuth flow to generate the code. Once a code is captured, however, exploitation is straightforward and repeatable, requiring no further privileges. The confidentiality impact is high, as repeated token issuance can grant sustained unauthorized access to protected resources. EPSS data is not available in the provided intelligence. No CISA KEV listing exists. No public POC or exploit code has been identified. The net assessment is moderate-to-high real-world risk for deployments using Apache CXF as an OAuth 2.0 authorization server, particularly in environments where authorization codes traverse less-than-fully-trusted channels (proxies, logging pipelines). The risk is substantially lower for deployments using CXF only as a web service client or non-OAuth server.

Exploit ScenarioDerived

An attacker positioned to observe OAuth 2.0 traffic - via a shared network, a misconfigured proxy that logs query parameters, or HTTP referrer header leakage from a redirect URI - captures a victim's authorization code during a legitimate login flow. The attacker then exchanges this code at the CXF token endpoint to obtain a valid access token; because removeCodeGrant() does not properly invalidate the code, the attacker can repeat this exchange to obtain multiple tokens, maintaining unauthorized access even after the original token expires. No public POC has been identified, but the technique is well-understood within standard OAuth 2.0 attack research.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 06, 2026

Apache CXF's DefaultEncryptingCodeDataProvider allows captured OAuth 2.0 authorization codes to be redeemed an unlimited number of times, violating RFC 6749's single-use requirement. The removeCodeGrant() method that should invalidate a code after first exchange fails to do so, meaning any attacker who intercepts or obtains a legitimate authorization code can replay it repeatedly to obtain additional access tokens. No public exploit has been identified at time of analysis, and the issue is addressed in patched releases 4.2.3, 4.1.8, and 3.6.12.

RemediationAI

Upgrade Apache CXF to version 4.2.3, 4.1.8, or 3.6.12 depending on the branch in use - these are the vendor-confirmed fixed releases per the Apache advisory at https://lists.apache.org/thread/6m06gdqz4rxhy9g90qz9lyqx2gqmf13o. If immediate upgrade is not feasible, deployments can mitigate by replacing DefaultEncryptingCodeDataProvider with a custom implementation that enforces single-use codes, at the cost of additional development and testing effort. Alternatively, rotating to short-lived authorization codes with very narrow expiry windows (e.g., 30-60 seconds) reduces the replay window but does not eliminate the underlying flaw. Enabling strict TLS with certificate pinning between authorization clients and the CXF server reduces code interception risk but does not fix the reuse vulnerability. Note that workarounds do not substitute for patching, as the root cause in removeCodeGrant() persists until the fixed version is deployed.

Affected VersionsENISA

Apache CXF 0 <3.6.12
Apache CXF 4.0.0 <4.1.8
Apache CXF 4.2.0 <4.2.3

Affected Packages

euvd apache_cxf fix: 3.6.12, 4.1.8, 4.2.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache CXF (CPE: cpe:2.3:a:apache_software_foundation:apache_cxf:*:*:*:*:*:*:*:*) is a widely used open-source Java framework for building SOAP and RESTful web services, including OAuth 2.0 authorization server implementations. The DefaultEncryptingCodeDataProvider class handles encrypted storage and lifecycle management of OAuth 2.0 authorization codes. Per RFC 6749 Section 4.1.2, an authorization code MUST be single-use; the authorization server must reject any reuse attempt. The flaw lies in the removeCodeGrant() method, which is responsible for expiring/invalidating the code once it has been exchanged for an access token. CWE-294 (Authentication Bypass by Capture-replay) applies: the code is not invalidated, allowing it to be replayed. An attacker who gains possession of the code through interception, log exposure, browser history, HTTP referrer leakage, or other means can reuse it to obtain multiple access tokens for the victim's account.

Know when Apache Cxf gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 9.8 LOW
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.9 MEDIUM

Network vector, high complexity due to prerequisite code capture; user interaction required to generate the code; no availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Aug 06, 2026 - 13:02 EUVD

DescriptionCVE.org

In Apache CXF's DefaultEncryptingCodeDataProvider, a captured authorization code can be redeemed an unlimited number of times due to a flaw in the implementation of the removeCodeGrant functionality. This violates the RFC requirement that "The authorization code MUST NOT be used more than once." Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
widely used enterprise Java web services framework, not universally deployed
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

20
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-66909 CRITICAL
9.8 Aug 06

Unsafe deserialization in Apache CXF's JMS transport allows any party able to publish to the service's JMS destination t

CVE-2026-44930 CRITICAL
9.8 May 22

Arbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)

CVE-2026-97468 CRITICAL
9.1 Oct 09

Token validation bypass in Apache CXF's STSTokenValidator and Security Token Service (STS) allows unauthenticated remote

CVE-2026-107938 CRITICAL
9.1 Oct 09

Man-in-the-middle attackers can impersonate any TLS server contacted by Apache CXF's optional Netty-based HTTP client tr

CVE-2026-65432 HIGH
7.5 Aug 06

XML External Entity injection in Apache CXF's WSDL import processing allows attackers who can influence imported WSDL or

CVE-2026-64958 HIGH
7.5 Aug 06

Denial of service persists in Apache CXF due to an incomplete remediation of CVE-2026-50645, allowing unauthenticated ne

CVE-2026-100227 HIGH
7.5 Oct 09

XML signature wrapping in Apache CXF's JAX-RS XML Security module allows remote, unauthenticated attackers to have unsig

CVE-2026-97791 HIGH
7.5 Oct 09

Trust bypass in Apache CXF's STSTokenValidator allows a remote, unauthenticated attacker to have a forged SAML assertion

CVE-2026-78384 HIGH
7.5 Oct 09

A remote, unauthenticated attacker can exhaust server heap memory in Apache CXF by submitting a small (kilobyte-scale) D

CVE-2026-44417 HIGH
7.5 May 22

Remote code execution in Apache CXF (versions before 3.6.11, 4.0.0-4.1.5, and 4.2.0) arises because the fix for CVE-2025

CVE-2026-61466 CRITICAL
9.1 Aug 06

Authorization scope escalation in Apache CXF's OAuth2 Dynamic Client Registration endpoint allows any registering client

CVE-2026-79650 MEDIUM
6.1 Oct 09

Open redirect in Apache CXF's OIDC relying-party component lets remote, unauthenticated attackers steer users to an atta

Vendor StatusVendor

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