CVE-2026-97791
Published:October 09, 2026
Updated:October 09, 2026
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 Packages
https://github.com/apache/cxf.git (GITHUB):
Affected version(s) >=cxf-4.1.0 <cxf-4.1.9Fix Suggestion:
Update to version cxf-4.1.9https://github.com/apache/cxf.git (GITHUB):
Affected version(s) >=cxf-3.0.0-milestone1 <cxf-3.6.13Fix Suggestion:
Update to version cxf-3.6.13https://github.com/apache/cxf.git (GITHUB):
Affected version(s) >=cxf-4.2.0 <cxf-4.2.4Fix Suggestion:
Update to version cxf-4.2.4org.apache.cxf:cxf-rt-ws-security (JAVA):
Affected version(s) >=4.2.0 <4.2.4Fix Suggestion:
Update to version 4.2.4org.apache.cxf:cxf-rt-ws-security (JAVA):
Affected version(s) >=3.0.0-milestone1 <3.6.13Fix Suggestion:
Update to version 3.6.13org.apache.cxf:cxf-rt-ws-security (JAVA):
Affected version(s) >=4.1.0 <4.1.9Fix Suggestion:
Update to version 4.1.9Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')