Summary
CVE-2026-68079 is an authorization code replay vulnerability (authentication bypass by capture-replay, CWE-294) in Apache CXF’s OAuth2 support. The DefaultEncryptingCodeDataProvider fails to invalidate an authorization code after it is redeemed, allowing a captured code to be exchanged for tokens an unlimited number of times. It is rated Critical (CVSS 9.8).
Technical details
- Root cause: A flawed
removeCodeGrantimplementation inDefaultEncryptingCodeDataProviderdoes not properly remove or invalidate an OAuth2 authorization code after it has been used. - Trigger conditions: An attacker obtains a valid authorization code and submits it to the token endpoint more than once.
- Attack vector: Network; no authentication or user interaction required (AV:N/AC:L/PR:N/UI:N).
- Impact: A single captured authorization code can be redeemed repeatedly, violating the OAuth2 requirement that codes be single-use, leading to unauthorized token issuance and compromise of confidentiality, integrity, and availability.
Affected software
- Apache CXF 4.2.0 through 4.2.2
- Apache CXF 4.0.0 through 4.1.7
- Apache CXF versions prior to 3.6.12
Severity
- CVSS v3.1 base score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade to a fixed release — Apache CXF 4.2.3, 4.1.8, or 3.6.12 (or later).
- If no patch: The advisory documents no alternative workaround; upgrading to a fixed version is required.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Page title:
CXF - Service list

