HIGH 8.1

CVE-2026-73179

Apache CXF: JPA authorization-code consume is non-atomic

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

Improper enforcement of single-use authorization code semantics in the JPA OAuth2 authorization code grant provider in Apache CXFallows a remote attacker to obtain multiple valid access tokens from a single authorization code via concurrent token exchange requests that race the non-atomic find-then-delete operation against a shared relational database under READ_COMMITTED isolation. Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fixes this issue.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.cxf » cxf-rt-rs-security-oauth2preliminary
< 3.6.13>= 4.0.0, < 4.1.9>= 4.2.0, < 4.2.4
3.6.13, 4.1.9, 4.2.4

Blast radius

1affected artifacts
963affected versions
627dependent artifacts (est.)
18,180dependent versions

30% of the dependent artifacts (193) still pull an affected version in their latest release.

DepthDependent versions
Direct
5,378
2 hops
5,922
3 hops
4,173
4 hops
1,241
5 hops
727
6 hops
739

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorygithub.com
Advisorylists.apache.org
Advisorynvd.nist.gov
Webopenwall.com
Webrepo.maven.apache.org