What’s Vulnerable › Vulnerabilities
CVE-2026-97791: Apache CXF: STSTokenValidator can accept untrusted SAML assertions because it shares validation state between requests
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-09 · updated 2026-10-20
- Weakness: CWE-362
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.
Affected products
- Apache Software Foundation Apache CXF: before 3.6.13; from 4.0.0 before 4.1.9; from 4.2.0 before 4.2.4 — fixed in 3.6.13, 4.1.9, 4.2.4
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache CXF 3.6.13, 4.1.9, 4.2.4. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread.html/ssdr417qgms9fjl0m8802xd8170wnk1l
- http://www.openwall.com/lists/oss-security/2026/10/09/10
Get alerted when CVE-2026-97791 or the next vulnerability affects your stack