# CVE-2026-97791: Apache CXF: STSTokenValidator can accept untrusted SAML assertions because it shares validation state between requests

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-10-09 · Modified: 2026-10-15
- Record: https://cvemate.com/vulnerability/CVE-2026-97791 · JSON: https://cvemate.com/vulnerability/CVE-2026-97791/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.294%, percentile 23.683%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache cxf: ≥ 4.2.0, \< 4.2.4 \| ≥ 4.0.0, \< 4.1.9 \| \< 3.6.13
- apache cxf: \< 3.6.13 \| ≥ 4.0.0, \< 4.1.9 \| ≥ 4.2.0, \< 4.2.4

## References

- <https://lists.apache.org/thread.html/ssdr417qgms9fjl0m8802xd8170wnk1l>
- <http://www.openwall.com/lists/oss-security/2026/10/09/10>

---

Data as of 2026-12-05T03:14:20.365Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
