Skip to main content

Apache WSS4J CVE-2026-115690

| EUVDEUVD-2026-126194 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-11-16 apache GHSA-cv54-5mp3-5jf6
7.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Intercept valid authenticated message in transit
  2. Delivery
    Duplicate the signed request
  3. Exploit
    Submit multiple copies concurrently
  4. Execution
    Win replay-cache check-then-remember race
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache WSS4J 3.0.0 <3.0.7
Apache WSS4J 4.0.0 <4.0.3
Apache WSS4J 0 <2.4.5

Affected Packages

euvd apache_wss4j fix: 2.4.5, 3.0.7, 4.0.3

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

Vendor (apache) PRIMARY 7.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

3
Severity Changed
Nov 17, 2026 - 18:22 NVD
MEDIUM HIGH
CVSS changed
Nov 17, 2026 - 18:22 NVD
7.5 (MEDIUM) 7.5 (HIGH)
Patch available
Nov 16, 2026 - 11:19 EUVD

DescriptionCVE.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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
WS-Security library underpinning Apache CXF SOAP services, common in Java enterprise stacks
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy