CRITICAL 9.1

CVE-2026-97468

Apache CXF: Authentication bypass via weak cache keys for validated STS tokens

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

Apache CXF's STSTokenValidator and Security Token Service (STS) cached validated security tokens under a non-cryptographic 32-bit hash of the token (Java Arrays.hashCode/hashCode()), and treated a cache hit as proof that the presented token had already been validated. An attacker could craft a token (for example a UsernameToken or a self-signed SAML Assertion) whose hash collides with a cached entry. The token would then be accepted without password validation, signature trust verification or a call to the STS. This could let the attacker authenticate as another user and, through STS token validation or renewal, obtain STS-signed tokens for that identity. Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.cxf » cxf-rt-ws-securitypreliminary
< 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
1,228affected versions
2,742dependent artifacts (est.)
116,809dependent versions

67% of the dependent artifacts (1,845) still pull an affected version in their latest release.

DepthDependent versions
Direct
23,264
2 hops
33,421
3 hops
27,906
4 hops
17,722
5 hops
10,622
6 hops
3,874

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