Replay Attack Affecting org.apache.cxf:cxf-rt-rs-security-oauth2 package, versions [,3.6.12)[4.0.0,4.1.8)[4.2.0,4.2.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHECXF-19341998
  • published27 Aug 2026
  • disclosed6 Aug 2026
  • creditGuanping Zhang

Introduced: 6 Aug 2026

NewCVE-2026-68079  (opens in a new tab)
CWE-294  (opens in a new tab)

How to fix?

Upgrade org.apache.cxf:cxf-rt-rs-security-oauth2 to version 3.6.12, 4.1.8, 4.2.3 or higher.

Overview

org.apache.cxf:cxf-rt-rs-security-oauth2 is a services framework.

Affected versions of this package are vulnerable to Replay Attack due to improper handling in the removeCodeGrant process. An attacker can repeatedly redeem a captured authorization code by exploiting this flaw, potentially gaining unauthorized access to protected resources.

CVSS Base Scores

version 4.0
version 3.1