CVE-2026-97791Apache Cxf race condition
CVSS score
7.5
High
CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit probability (EPSS)
0.30%
0.30% chance of exploitation in the next 30 days, higher than 23.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Check whether you're affected
Find every system running Apache Cxf and compare its version with the affected versions.
Update to a fixed version
- Update Apache CXF to 3.6.13, 4.1.9, 4.2.4 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| Apache Cxf | < 3.6.13 · ≥ 4.0.0, < 4.1.9 · ≥ 4.2.0, < 4.2.4 |
| Apache Apache CXF | ≥ 4.2.0, < 4.2.4 · ≥ 4.0.0, < 4.1.9 · < 3.6.13 |
Weakness
- CWE-362 race condition
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-97791 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-97791?
CVE-2026-97791 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Apache Cxf (< 3.6.13; ≥ 4.0.0, < 4.1.9; ≥ 4.2.0, < 4.2.4), Apache Apache CXF (≥ 4.2.0, < 4.2.4; ≥ 4.0.0, < 4.1.9; < 3.6.13)
Is there a patch for CVE-2026-97791?
The official record links to vendor advisories or patches; see “What to do” above.
References
- lists.apache.org/thread.html/ssdr417qgms9fjl0m8802xd8170wnk1l(Issue Tracking, Vendor Advisory)
- www.openwall.com/lists/oss-security/2026/10/09/10(Mailing List, Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.