Skip to content

CVE-2026-97468 Apache CXF: Authentication bypass via weak cache keys for validated STS tokens

CriticalCVSS 9.1 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
Red Hat

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.

Upgrade path

7 packages: 2 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat/cxf-rt-ws-security(Red Hat camel_quarkus 3) All versions No fix listed No fix yet
redhat/cxf-rt-ws-security(Red Hat camel_spring_boot 4) All versions No fix listed No fix yet
redhat/cxf-rt-ws-security(Red Hat jboss_enterprise_application_platform 8) All versions No fix listed No fix yet
redhat/cxf-rt-ws-security(Red Hat red_hat_single_sign_on 7) All versions No fix listed No fix yet
redhat/org.apache.cxf/cxf-rt-ws-security:4.1.9.rhbac-redhat-00001(Red Hat apache_camel_quarkus 3.33 el6) All versions No fix listed No fix yet
apache cxf < 3.6.13; >= 4.0.0, < 4.1.9; >= 4.2.0, < 4.2.4 3.6.13, 4.1.9, 4.2.4 Fixed
org.apache.cxf/cxf-rt-ws-security(Maven) < 3.6.13; >= 4.0.0, < 4.1.9; >= 4.2.0, < 4.2.4 3.6.13, 4.1.9, 4.2.4 Fixed

Affected products

ProductAffected versionsFixed in
redhat/org.apache.cxf/cxf-rt-ws-security:4.1.9.rhbac-redhat-00001(Red Hat:apache_camel_quarkus:3.33::el6) All versions No fix listed
redhat/cxf-rt-ws-security(Red Hat:camel_quarkus:3) All versions No fix listed
redhat/cxf-rt-ws-security(Red Hat:camel_spring_boot:4) All versions No fix listed
redhat/cxf-rt-ws-security(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/jboss-eap-7/eap74-els-openjdk11-openshift-rhel8(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/jboss-eap-7/eap74-els-openjdk17-openshift-rhel8(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/jboss-eap-7/eap74-els-openjdk8-openshift-rhel8(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/cxf-rt-ws-security(Red Hat:jboss_enterprise_application_platform:8) All versions No fix listed
redhat/cxf-rt-ws-security(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
org.apache.cxf/cxf-rt-ws-security(Maven) >= 4.2.0, < 4.2.4 4.2.4
org.apache.cxf/cxf-rt-ws-security(Maven) >= 4.0.0, < 4.1.9 4.1.9
org.apache.cxf/cxf-rt-ws-security(Maven) < 3.6.13 3.6.13
apache cxf < 3.6.13 3.6.13
apache cxf >= 4.0.0, < 4.1.9 4.1.9
apache cxf >= 4.2.0, < 4.2.4 4.2.4

References