CVE-2026-97468
Apache CXF: Authentication bypass via weak cache keys for validated STS tokens
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)
| Artifact | Affected versions | Fixed 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
67% of the dependent artifacts (1,845) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.wildfly » wildfly-feature-pack372 usages
- org.mule.transports » mule-transport-http202 usages
- be.milieuinfo.security » acd-openam-client185 usages
- org.mule.transports » mule-transport-vm181 usages
- be.vlaanderen.dov » dov-neo-setup158 usages
- be.milieuinfo.security » acd-openam-soap-client153 usages
- org.apache.cxf.services.sts » cxf-services-sts-core150 usages
- ddf.security.core » security-core-api142 usages
- org.mule.modules » mule-module-sfdc114 usages
- ddf.security.core » security-core-impl109 usages
- be.milieuinfo.msb » msb-service-proxy-common108 usages
- ddf.security » ddf-security-common106 usages
- org.mule.modules » mule-module-cxf98 usages
- be.vlaanderen.dov » domain-core89 usages
- be.milieuinfo.security » acd-openam-ws-client88 usages
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
| Advisory | CVE record CVE-2026-97468 | github.com |
| Advisory | thread.html/qthbnsyhqsxhl9p2h9v5dg4mnwv1b9r6 | lists.apache.org |
| Advisory | NVD CVE-2026-97468 | nvd.nist.gov |
| Web | lists/oss-security/2026/10/09/9 | openwall.com |
| Web | maven2 | repo.maven.apache.org |
