CVE-2026-97791 Apache CXF: STSTokenValidator can accept untrusted SAML assertions because it shares validation state between requests
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
Description
In Apache CXF, STSTokenValidator checks whether a SAML assertion is signed by a trusted certificate before deciding to send it to the STS. That result was stored in one object shared by all requests, so one request could read another's result. A remote, unauthenticated attacker could send a forged assertion signed with an untrusted certificate while legitimate requests were being processed, and it could be accepted as trusted without ever reaching the STS. Only services that use STSTokenValidator to validate SAML tokens without alwaysValidateToSts set are affected.
Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.
Upgrade path
11 packages: 2 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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 7) | 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/jboss-eap-7/eap74-els-openjdk11-openshift-rhel8(Red Hat jboss_enterprise_application_platform 7) | All versions | No fix listed | No fix yet |
| redhat/jboss-eap-7/eap74-els-openjdk17-openshift-rhel8(Red Hat jboss_enterprise_application_platform 7) | All versions | No fix listed | No fix yet |
| redhat/jboss-eap-7/eap74-els-openjdk8-openshift-rhel8(Red Hat jboss_enterprise_application_platform 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
| Product | Affected versions | Fixed 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
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:95622 patch vendor-advisory
- Red Hat Bugzilla 2548455 issue-tracking
- www.cve.org
- nvd.nist.gov
- lists.apache.org issue-tracking vendor-advisory
- www.openwall.com mailing-list third-party-advisory
- ENISA EUVD EUVD-2026-95700 third-party-advisory