CVE-2026-115690
published high CVSS 3.1 · 7.5Apache WSS4J: Replay protection bypassed by concurrent copies of a message
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org/apache:wss4j:wss4j-ws-security-commonApache WSS4J · 4.0.0 to < 4.0.3 · 3.0.0 to < 3.0.7 · 0 to < 2.4.5 · Other versions: unaffected | Affected | Not stated | apache |
Description
Apache WSS4J remembers the UsernameToken Nonce, the Timestamp and signature of a signed message, and the ID of a SAML 2.0 "OneTimeUse" assertion, so that a captured message cannot be accepted twice. It checked whether a value had already been seen, validated the message, and only then remembered the value, as two separate steps. If several copies of the same message were processed at the same time, they could all pass the check before any of them was remembered, and all be accepted. An attacker who obtained a valid message before the recipient first processed it could send several copies at once, so that the same authenticated request was executed more than once. Where a UsernameToken is not bound to the message by a signature, the copies could carry different message bodies. The attacker needs to obtain the message while it is still in transit; a message captured after it has been accepted cannot be replayed. Affects deployments with a replay cache configured, as Apache CXF has by default. The value is now checked and remembered in a single atomic step. Custom ReplayCache implementations should override the new ReplayCache.addIfAbsent method with an operation that is atomic in their underlying store. Users are recommended to upgrade to versions 4.0.3 or 3.0.7 or 2.4.5, 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:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache WSS4J | 4.0.0 to < 4.0.3 (affected · semver)3.0.0 to < 3.0.7 (affected · semver)0 to < 2.4.5 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-367 CWE-367 Time-of-check time-of-use (TOCTOU) race condition
References
2Provider assertions
3apache · cna
Apache WSS4J: Replay protection bypassed by concurrent copies of a message
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 28aaa9c2cedb11a25c6f09bfd8079ba1e3ca0098b4a2422ab7e29ac867ac7e12
- Ingested
- 17 Nov 2026, 17:27:31 UTC
- Source record
- Official CVE record