Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIntercept valid authenticated message in transit
-
DeliveryDuplicate the signed request
-
ExploitSubmit multiple copies concurrently
-
ExecutionWin replay-cache check-then-remember race
-
ImpactExecute authenticated request multiple times
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Requires all of: (1) a deployment with a replay cache configured, which Apache CXF enables by default; (2) the attacker obtaining a valid, already-authenticated message (UsernameToken Nonce/Timestamp, a signed message, or a SAML 2.0 'OneTimeUse' assertion) while it is still in transit, before the recipient first processes it - a message captured after acceptance cannot be replayed; and (3) sending multiple copies concurrently so they are processed in parallel and all pass the replay check before any is remembered. Limiting factors: the in-transit intercept demands a privileged network/MITM position, and exploitation depends on winning the concurrency race; the ability for copies to carry DIFFERENT message bodies additionally requires that the UsernameToken is NOT bound to the message by a signature. Complete fix is upgrading to 4.0.3, 3.0.7, or 2.4.5; custom ReplayCache implementations must override the new addIfAbsent method with an operation atomic in their underlying store. |
| Impact | This is a CWE-367 time-of-check/time-of-use race condition in Apache WSS4J's replay protection: the value was checked against the replay cache and only afterward remembered, as two separate steps, so concurrent copies of the same message could all pass the check before any was recorded. The input provides NO CVSS vector, NO EPSS score, NO KEV listing, and NO PoC reference, so quantitative exploitation-probability signals are entirely absent - risk must be judged from the mechanism and the single vendor advisory. The vuln.today Decision label is 'this_month' (not act_now/emergency), consistent with a real but conditional flaw rather than an urgent widely-exploited one. The decisive limiting factor is that the attacker must obtain the valid authenticated message WHILE IT IS STILL IN TRANSIT and replay copies before the recipient first processes it - a message captured after acceptance cannot be replayed - which requires a privileged network/interception position plus winning a concurrency race, markedly narrowing real-world exploitability. Exploitation status: no public exploit identified at time of analysis. Net assessment: a legitimate authentication-replay/integrity issue worth patching on a normal cycle, not a high-urgency mass-exploitation risk; note that the input's 'Denial Of Service' tag does not match the described impact (replay of authenticated requests), so that signal appears mislabeled and should not drive prioritization. |
| Exploit ScenarioDerived | An attacker positioned to capture a victim's signed/authenticated SOAP message in transit (e.g., on the network path) copies it and submits several copies simultaneously to the WS-Security endpoint. Because the replay cache checks and records values in two separate steps, all copies pass the replay check before any is remembered, so the same authenticated request executes more than once; where a UsernameToken is not bound to the message by a signature, the copies can even carry different message bodies. No public exploit identified at time of analysis, and the attack requires both an in-transit intercept and winning the processing race. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Apache WSS4J's replay protection can be bypassed through a time-of-check/time-of-use race, so the same authenticated SOAP message can be accepted and executed more than once. The affected library checks a UsernameToken nonce, Timestamp, WS-Security signature, or SAML 2.0 'OneTimeUse' assertion ID against the replay cache and only afterwards stores it, as two separate steps; concurrent copies of one message can therefore all pass the check before any copy is recorded. Impact is limited to deployments with a replay cache configured - which Apache CXF enables by default - and to attackers who can capture a valid message in transit before the recipient first processes it and then deliver copies simultaneously; the trigger depends on winning the race, and the copies can only carry different message bodies where the UsernameToken is not bound to the message by a signature. No public exploit code or confirmed active exploitation was identified at time of analysis; the assessed vector is network-reachable, high attack complexity, no privileges or user interaction, with high integrity impact and no confidentiality or availability impact. Fixed versions are 4.0.3, 3.0.7, and 2.4.5.
RemediationAI
Upgrade Apache WSS4J to 4.0.3, 3.0.7, or 2.4.5 on the matching release branch; per the vendor, this is the complete fix because the value is now checked and remembered in a single atomic step. Operators who maintain custom ReplayCache implementations must additionally override the new ReplayCache.addIfAbsent method with an operation that is atomic in their underlying store - otherwise the check-then-remember window persists in their own code even after the library upgrade. Determine whether a replay cache is active in the deployment, since Apache CXF enables one by default and without a configured cache the race cannot be exercised. Advisory details are at https://lists.apache.org/thread.html/y2gb5of7tbh08zqv8rlh8212720f6tcy; the vendor documentation supplied for this issue lists no alternative workaround beyond upgrading and updating custom cache implementations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WSS4J is the WS-Security implementation used by Apache CXF and other Java SOAP stacks; it enforces anti-replay by remembering UsernameToken nonces, message Timestamps, digests/signatures of signed messages, and the IDs of SAML 2.0 assertions marked OneTimeUse, typically through a pluggable ReplayCache backed by an in-memory or persistent store. The root cause is CWE-367, a time-of-check/time-of-use race: the code performed the 'have I seen this value' lookup and the 'remember this value' insert as two distinct operations, leaving a window in which parallel threads handling duplicate copies of the same message all observe a cache miss and all proceed. The fix makes the check-and-insert a single atomic step and introduces a ReplayCache.addIfAbsent method that custom cache implementations are expected to override with an operation atomic in their own backing store - third-party caches that only implement the older check-then-add pattern remain exposed even after the library upgrade. Note that the public tag set for this record includes 'Denial Of Service', whereas the assessed vector assigns no availability impact and instead rates integrity high, reflecting duplicate execution of an authenticated request rather than service disruption.
Know when Apache Wss4J gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attacker needs no credentials (replays a victim's valid message) so PR:N, but must intercept the in-transit message and win a processing race so AC:H; impact is integrity via re-executed/altered authenticated requests, with no confidentiality or availability loss.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
3DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-126194
GHSA-cv54-5mp3-5jf6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB