Live threats

All CVEs / Apache

CVE-2026-97468Apache Cxf

Security Token Hash Collision in Apache CXF Token Validation

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Oct 9, 2026
Updated
Oct 20, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-328
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

Apache CXF caches validated security tokens using a non-cryptographic 32-bit hash, allowing an attacker to craft a token with a colliding hash to bypass validation. An unauthenticated attacker could forge tokens (UsernameToken or SAML Assertion) and authenticate as another user, obtaining STS-signed tokens for that identity.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 3.6.13, 4.1.9, 4.2.4

Upgrade Apache CXF to version 3.6.13, 4.1.9, or 4.2.4 depending on your version branch.

Vendor advisory · lists.apache.org ↗

  1. Apply the vendor's security update for Cxf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
apachecxf< 3.6.13
apachecxf≥ 4.0.0 < 4.1.9
apachecxf≥ 4.2.0 < 4.2.4

Official sources

References

Links published by the sources. Open them with care.