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
Share

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
qualitative

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

2
Patch available
Aug 06, 2026 - 13:02 EUVD
Analysis Generated
Aug 06, 2026 - 12:21 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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-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-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-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-61466 CRITICAL
9.1 Aug 06

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

CVE-2026-44618 MEDIUM
5.3 May 22

XML External Entity injection in Apache CXF's WS-Transfer module exposes SOAP endpoints to server-side file read and int

CVE-2026-57818 HIGH
8.1 Aug 06

Double-spending of OAuth2 authorization codes in Apache CXF's JCacheCodeDataProvider enables issuance of multiple valid

CVE-2026-63687 CRITICAL
9.1 Aug 06

Apache CXF's JwtRequestCodeFilter blindly copies all claims from a validly-signed JWT request object into the OAuth2 aut

CVE-2026-65583 CRITICAL
9.1 Aug 06

Authentication bypass in Apache CXF's OIDC relying-party implementation allows network-accessible attackers to forge sel

CVE-2026-68481 HIGH
7.5 Aug 06

Token revocation bypass in Apache CXF's DefaultEncryptingOAuthDataProvider allows revoked OAuth access and refresh token

CVE-2026-57817 HIGH
8.1 Aug 06

Authorization Code Substitution in Apache CXF's OpenID Connect Relying Party implementation allows remote attackers to h

Vendor StatusVendor

Share

EUVD-2026-53858 vulnerability details – vuln.today

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