Description
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.
Published: 2026-08-06
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the DefaultEncryptingCodeDataProvider component of Apache CXF, a flaw in the removeCodeGrant logic lets a captured authorization code be redeemed repeatedly, violating the RFC requirement that an authorization code must not be used more than once. This flaw can allow an attacker who has intercepted or otherwise obtained a valid authorization code to repeatedly request access tokens, effectively bypassing single‑use restrictions and potentially gaining unauthorized access to protected resources. The weakness is classified as CWE‑294 and CWE‑613, reflecting improper handling of authentication credentials.

Affected Systems

Apache CXF from the Apache Software Foundation is affected for the specific releases identified: 4.2.3, 4.1.8, and 3.6.12. The CVE documentation recommends upgrading to these versions as they contain the fix. The data does not confirm whether other releases are impacted or not, so users should verify whether their environment uses the listed versions and apply the patch if necessary.

Risk and Exploitability

The vulnerability falls under CWE‑294 and CWE‑613, allowing unlimited replay of a captured authorization code, which may lead to unauthorized use of protected resources. No known public exploits have been reported, and the EPSS score of less than 1% indicates a low probability of exploitation. The CVSS score of 9.8 indicates critical severity. The likely attack vector is application‑level, requiring an attacker to intercept or otherwise obtain an authorization code through network interception or phishing and then replay it to obtain tokens. While HTTPS and monitoring for repeated code usage can mitigate the risk, the high severity and potential impact warrant proactive remediation.

Generated by OpenCVE AI on August 12, 2026 at 11:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache CXF to version 4.2.3, 4.1.8, or 3.6.12 as available to replace the DefaultEncryptingCodeDataProvider.
  • Verify that the removeCodeGrant logic is active; if using a custom provider, enforce single‑use of authorization codes to prevent replay.
  • Deploy network monitoring to detect repeated usage of the same authorization code and ensure all OAuth flows occur over TLS to prevent interception.

Generated by OpenCVE AI on August 12, 2026 at 11:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
References

Tue, 11 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-613
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 06 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 06 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache cxf
Vendors & Products Apache
Apache cxf

Thu, 06 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache CXF: DefaultEncryptingCodeDataProvider allows unlimited authorization code replay
Weaknesses CWE-294
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-07T00:01:53.998Z

Reserved: 2026-07-30T09:22:10.738Z

Link: CVE-2026-68079

cve-icon Vulnrichment

Updated: 2026-08-07T00:01:53.998Z

cve-icon NVD

Status : Modified

Published: 2026-08-06T12:16:28.060

Modified: 2026-08-07T00:16:39.950

Link: CVE-2026-68079

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-06T11:22:57Z

Links: CVE-2026-68079 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T11:30:03Z

Weaknesses
  • CWE-294

    Authentication Bypass by Capture-replay

  • CWE-613

    Insufficient Session Expiration