CVE-2026-68079
Apache Software Foundation · Apache CXF
Apache CXF contains a flaw in the removeCodeGrant functionality, allowing an authorization code to be redeemed multiple times in violation of RFC specifications.
Executive summary
A critical authentication bypass in Apache CXF allows for the replay of authorization codes, potentially leading to unauthorized account access.
Vulnerability
This is an authentication bypass vulnerability (CWE-294) caused by a failure to properly invalidate authorization codes after use. An unauthenticated attacker can capture and replay these codes to gain unauthorized access to protected resources.
Business impact
By enabling the reuse of authorization codes, this vulnerability undermines the entire authentication framework of the affected application. With a CVSS score of 9.8, this flaw could allow attackers to hijack legitimate user sessions, leading to unauthorized access to sensitive business data and administrative functions.
Remediation
Immediate Action: Upgrade Apache CXF to version 4.2.3, 4.1.8, or 3.6.12 to correctly implement the one-time use requirement for authorization codes.
Proactive Monitoring: Monitor authentication logs for multiple successful redemptions of the same authorization code grant, which may indicate active exploitation.
Compensating Controls: Use a WAF to detect and block suspicious replay attempts or anomalous repeated requests to authorization endpoints.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Organizations must treat this authentication bypass with the highest level of urgency. Applying the vendor-supplied patches is the only effective way to ensure that authorization codes cannot be replayed, effectively closing the window for unauthorized session access.