CVE-2026-97791
published high CVSS 3.1 · 7.5Apache CXF: STSTokenValidator can accept untrusted SAML assertions because it shares validation state between requests
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.cxf:cxf-rt-ws-securityApache CXF · 4.2.0 to < 4.2.4 · 4.0.0 to < 4.1.9 · 0 to < 3.6.13 · Other versions: unaffected | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache CXF | 4.2.0 to < 4.2.4 (affected · semver)4.0.0 to < 4.1.9 (affected · semver)0 to < 3.6.13 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
2Provider assertions
3apache · cna
Apache CXF: STSTokenValidator can accept untrusted SAML assertions because it shares validation state between requests
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d65b103fcce4964eae81cd6e90a5787ab2e2f27c0bc6e876ba4cc9287ee7c3b2
- Ingested
- 15 Oct 2026, 17:54:57 UTC
- Source record
- Official CVE record