CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in apache cxf. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2026-97791 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-97791?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-97791?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-97791 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Apache Software Foundation Apache CXF | from 4.2.0 before 4.2.4 |
| Apache Software Foundation Apache CXF | from 4.0.0 before 4.1.9 |
| Apache Software Foundation Apache CXF | before 3.6.13 |
Red Hat rates this Important.
A flaw was found in Apache CXF's STSTokenValidator, which Red Hat has rated as having Important security impact (CVSS 7.4, AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N). When validating SAML tokens, STSTokenValidator checks whether an assertion is signed by a trusted certificate before deciding whether to send it to the Security Token Service (STS), and that result was stored in a single object shared across all requests. As a result, one request could read another request's validation result: a remote, unauthenticated attacker could submit a forged assertion signed with an untrusted certificate while legitimate requests were being processed and have it accepted as trusted without ever reaching the STS, bypassing authentication and gaining unauthorized access to protected application data and operations. Only services that use STSTokenValidator to validate SAML tokens without alwaysValidateToSts set are affected.
Red Hat products that ship the affected Apache CXF cxf-rt-ws-security component, including Red Hat JBoss Fuse 7, Red Hat JBoss Enterprise Application Platform 7.4 and 8.1, and Red Hat build of Apache Camel, are affected, and fixes are being pursued for those streams. For certain streams, specifically Red Hat Single Sign-On 7 and particular JBoss EAP 7.4 container images, a fix will not be provided; those deployments remain exposed to the authentication bypass described above if STSTokenValidator is used without alwaysValidateToSts. JBoss EAP XP is not affected because the affected component is not present in it.
As a workaround, configure STSTokenValidator with alwaysValidateToSts enabled so that every incoming SAML token is always sent to the Security Token Service (STS) for validation rather than being accepted based on the local certificate-trust check; services configured this way are not exposed to the shared validation state. No other mitigation is currently available beyond this configuration change and applying updates for affected products once fixed packages are released.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Apache Camel 4 for Quarkus 3 | cxf-rt-ws-security | Affected | |
| Red Hat build of Apache Camel for Spring Boot 4 | cxf-rt-ws-security | Affected | |
| Red Hat Fuse 7 | cxf-rt-ws-security | Not affected | |
| Red Hat JBoss Enterprise Application Platform 7 | cxf-rt-ws-security | Affected | |
| Red Hat JBoss Enterprise Application Platform 7 | jboss-eap-7/eap74-els-openjdk11-openshift-rhel8 | Will not fix | |
| Red Hat JBoss Enterprise Application Platform 7 | jboss-eap-7/eap74-els-openjdk17-openshift-rhel8 | Affected | |
| Red Hat JBoss Enterprise Application Platform 7 | jboss-eap-7/eap74-els-openjdk8-openshift-rhel8 | Will not fix | |
| Red Hat JBoss Enterprise Application Platform 8 | cxf-rt-ws-security | Affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | cxf-rt-ws-security | Not affected | |
| Red Hat Single Sign-On 7 | cxf-rt-ws-security | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-97791.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.