Skip to main content

Apache CXF EUVDEUVD-2026-95699

| CVE-2026-97468 CRITICAL
Use of Weak Hash (CWE-328)
2026-10-09 apache GHSA-hw52-jg43-v867
9.1
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach CXF STS / STSTokenValidator endpoint
  2. Exploit
    Craft token colliding with cached 32-bit hash
  3. Execution
    Pass validation via weak-hash cache hit
  4. Impact
    Impersonate user and obtain STS-signed tokens

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Irreversible hash functions
Exploitation Conditions

Exploitation requires the target application to use Apache CXF's STSTokenValidator or its Security Token Service (STS) with the validated-token cache enabled (WS-Security/WS-Trust token validation or renewal flows). The attacker must craft a token (UsernameToken or self-signed SAML Assertion) whose Java Arrays.hashCode/hashCode() value collides with an entry already present in that cache, so a legitimately validated token for the target identity must already be cached - a meaningful limiting factor. Deployments of Apache CXF that do not perform STS/STSTokenValidator-based token validation or that do not cache validated tokens are not exploitable. The weak 32-bit hash space makes the collision itself computationally feasible, but success is gated on the cache state above. Fixed in 4.2.4, 4.1.9, and 3.6.13.

Impact

Signals conflict and must be weighed together rather than taken from the headline score. The CVSS 3.1 base score is 9.1 (Critical) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, implying a remote, unauthenticated, low-complexity authentication bypass - a genuinely severe primitive (CWE-328, use of a weak non-cryptographic hash). Against that, EPSS is only 0.17% (6th percentile), there is no CISA KEV listing, and no public exploit code was identified in the provided sources, so exploitation is currently theoretical rather than observed. No SSVC decision framework data (exploitation/automatable/technical-impact) was supplied, so that dimension cannot be cross-referenced. The CVSS AC:L rating is arguably optimistic: real-world exploitation depends on CXF being deployed with STSTokenValidator or the STS using token caching AND on a legitimate validated token already residing in the cache to collide against - conditions not reflected in the base vector. Net assessment: this is a real, patch-worthy priority specifically for deployments using Apache CXF WS-Trust/STS token validation or renewal, but the low EPSS, absent KEV/POC, and feature-specific preconditions mean it is not yet broad-exploitation risk; environments not using STS token caching face substantially lower practical risk than the 9.1 suggests.

Exploit ScenarioDerived

An attacker crafts a token - for example a UsernameToken or a self-signed SAML assertion - whose 32-bit Java hashCode collides with a token already cached as validated by CXF's STSTokenValidator or STS. CXF treats the cache hit as proof the token was validated and accepts it without password validation, signature trust verification, or an STS call, letting the attacker authenticate as another user and, via STS validation/renewal, obtain STS-signed tokens for that identity. No public exploit was identified at time of analysis; per the CVSS vector (PR:N) this is reachable by remote unauthenticated attackers, though a colliding cached entry must exist.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 15, 2026

Token validation bypass in Apache CXF's STSTokenValidator and Security Token Service (STS) allows unauthenticated remote attackers to impersonate another user by presenting a forged UsernameToken or self-signed SAML Assertion whose 32-bit Java hash collides with an entry already held in the validated-token cache. Because a cache hit is treated as proof of prior validation, the forged token is accepted without password validation, signature trust verification, or any call to the STS, and can subsequently be exchanged through STS validation or renewal for STS-signed tokens issued for the victim identity. Exploitation is constrained in practice: the target deployment must use STSTokenValidator or STS token validation/renewal with the validated-token cache enabled, and a legitimately validated token for the identity being impersonated must already be present in that cache; no public exploit code has been identified at time of analysis, KEV status is negative, and EPSS is low (~0.17%, 6th percentile), yet the headline CVSS of 9.1 reflects high confidentiality and integrity impact if the preconditions are met. Vendor patches are available in 4.2.4, 4.1.9, and 3.6.13.

Earlier versions of this analysis (1)
v1 Oct 09, 2026 - 11:02

Authentication bypass in Apache CXF's WS-Security Security Token Service (STS) path lets an attacker be accepted as another user and obtain STS-signed tokens for that identity, defeating password validation, signature trust verification, and the STS call itself. The issue affects deployments that use STSTokenValidator or the STS with token caching enabled, where a validated token is cached under its non-cryptographic 32-bit Java hashCode (Arrays.hashCode/String.hashCode) and a cache hit is treated as proof of prior validation; a forged UsernameToken or self-signed SAML Assertion whose hash collides with a cached victim entry is therefore accepted. Per the assessed vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) exploitation is unauthenticated but requires that a legitimately validated token for the targeted identity already reside in the cache, and the crafted token must collide with that specific cached hash rather than any arbitrary value; no public exploit code has been identified and there is no indication of confirmed active exploitation (not listed in CISA KEV) at time of analysis. Vendor-released patches: Apache CXF 4.2.4, 4.1.9, and 3.6.13.

RemediationAI

Apply the vendor-released patches: upgrade Apache CXF to 4.2.4 (4.2.x branch), 4.1.9 (4.0.x/4.1.x branch), or 3.6.13 (3.6.x branch), per the Apache advisory at https://lists.apache.org/thread.html/qthbnsyhqsxhl9p2h9v5dg4mnwv1b9r6 and the oss-security note at https://seclists.org/oss-sec/2026/q4/111. Where an immediate upgrade is not possible, disable the validated-token cache used by STSTokenValidator/STS so every token is re-validated against credentials, SAML signature trust, and the STS itself; the trade-off is added STS load and latency plus a possible dependency on STS availability for each request. If the application does not genuinely need WS-Trust token validation or renewal, disable or block the STS endpoints (including renewal operations) at the network or CXF bus level to remove the attack surface entirely, accepting loss of federated token functionality. Organizations running unsupported CXF branches (for example 3.5.x or earlier, which are not covered by these fix versions) should either migrate to a supported branch or engage commercial extended support such as HeroDevs (https://www.herodevs.com/vulnerability-directory/cve-2026-97468). No vendor patch version should be assumed for branches outside 3.6.13, 4.1.9, and 4.2.4, and because exploitation requires a colliding cached token, monitoring STS logs for anomalous repeated token-validation attempts is a useful but secondary detection measure.

Affected VersionsENISA

Apache CXF 4.0.0 <4.1.9
Apache CXF 0 <3.6.13
Apache CXF 4.2.0 <4.2.4

Affected Packages

euvd apache_cxf fix: 3.6.13, 4.1.9, 4.2.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-328 use-of-weak-hash weakness in the Apache CXF WS-Security/WS-Trust token-validation path. Instead of keying its validated-token cache on the full token bytes or a cryptographic digest, STSTokenValidator and the STS cache used the non-cryptographic 32-bit value returned by Java's Arrays.hashCode()/hashCode() and treated any hash match as evidence that the presented token had already been validated. A 32-bit hash space is trivially subject to collision: an attacker who knows or can guess that an identity's token is cached can iterate over candidate UsernameToken or self-signed SAML Assertion payloads until the computed hash matches the cached key, at which point the forged credential inherits the cached token's validated status and bypasses credential checks, SAML signature trust evaluation, and the STS round-trip entirely. The affected CPE is cpe:2.3:a:apache_software_foundation:apache_cxf with no version restriction encoded, and EUVD enumerates the vulnerable ranges as Apache CXF 0 through <3.6.13, 4.0.0 through <4.1.9, and 4.2.0 through <4.2.4. The underlying protocol context is WS-Security UsernameToken and SAML assertion validation, together with WS-Trust STS token issuance and renewal flows, which is why a successful bypass can escalate from simple authentication to obtaining STS-signed tokens for the impersonated identity.

Know when Apache Cxf gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 9.1 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 9.1 CRITICAL

Remote unauthenticated reach to the STS endpoint (AV:N/PR:N); 32-bit hash collision is computationally trivial (AC:L); authentication bypass yields impersonation and forged STS tokens (C:H/I:H), no availability impact (A:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
Oct 15, 2026 - 17:22 NVD
9.1 (CRITICAL)
Patch available
Oct 09, 2026 - 12:01 EUVD
CVE Published
Oct 09, 2026 - 10:18 cve.org
HIGH

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Apache CXF deployments that rely on Security Token Service (STS) validation or renewal with the validated-token cache enabled face a critical authentication bypass that could let an attacker impersonate another user and obtain valid tokens issued for that identity. This creates a risk of unauthorized access to applications and data, potentially undermining trust in federated authentication across the organization. Although no public exploit identified at time of analysis and exploitation requires specific cache conditions, the severity and potential for lateral movement warrant immediate management attention.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
popular Java WS framework, but vulnerable STS/WS-Trust feature is deployment-specific
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-44930 CRITICAL
9.8 May 22

Arbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)

CVE-2026-66909 CRITICAL
9.8 Aug 06

Unsafe deserialization in Apache CXF's JMS transport allows any party able to publish to the service's JMS destination t

CVE-2026-107938 CRITICAL
9.1 Oct 09

Man-in-the-middle attackers can impersonate any TLS server contacted by Apache CXF's optional Netty-based HTTP client tr

CVE-2026-100227 HIGH
7.5 Oct 09

XML signature wrapping in Apache CXF's JAX-RS XML Security module allows remote, unauthenticated attackers to have unsig

CVE-2026-97791 HIGH
7.5 Oct 09

Trust bypass in Apache CXF's STSTokenValidator allows a remote, unauthenticated attacker to have a forged SAML assertion

CVE-2026-78384 HIGH
7.5 Oct 09

A remote, unauthenticated attacker can exhaust server heap memory in Apache CXF by submitting a small (kilobyte-scale) D

CVE-2026-44417 HIGH
7.5 May 22

Remote code execution in Apache CXF (versions before 3.6.11, 4.0.0-4.1.5, and 4.2.0) arises because the fix for CVE-2025

CVE-2026-65432 HIGH
7.5 Aug 06

XML External Entity injection in Apache CXF's WSDL import processing allows attackers who can influence imported WSDL or

CVE-2026-64958 HIGH
7.5 Aug 06

Denial of service persists in Apache CXF due to an incomplete remediation of CVE-2026-50645, allowing unauthenticated ne

CVE-2026-61466 CRITICAL
9.1 Aug 06

Authorization scope escalation in Apache CXF's OAuth2 Dynamic Client Registration endpoint allows any registering client

CVE-2026-79650 MEDIUM
6.1 Oct 09

Open redirect in Apache CXF's OIDC relying-party component lets remote, unauthenticated attackers steer users to an atta

CVE-2026-44618 MEDIUM
5.3 May 22

XML External Entity injection in Apache CXF's WS-Transfer module exposes SOAP endpoints to server-side file read and int

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy