Vulnerabilities

CVE-2026-97468

Critical 9.1 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-10-09
Last modified
2026-10-20
Assigned by
security@apache.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Apache Cxf < 3.6.13 Affected
Apache Cxf ≥ 4.0.0, < 4.1.9 Affected
Apache Cxf ≥ 4.2.0, < 4.2.4 Affected

Weakness type

  • CWE-328: Use of Weak Hash

    The product uses an algorithm that produces a digest (output value) that does not meet security expectations for a hash function that allows an adversary to reasonably determine the original input (preimage attack), fin…

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1553.002: Code Signing defense-impairment

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities