CVE Watchtower

CVE-2026-115690Apache Software Foundation Apache WSS4J Time-of-check Time-of-use (TOCTOU) Race Condition

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability Summary

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.
Severity Level
HIGH(7.5)
Published Date
Nov 16, 2026
Last Modified
Nov 20, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.27%Probability
Root Weakness (CWE)
The product checks the state of a resource before using that resource, but the resource state can change between the check and the use in a way that invalidates the results of the check.
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Apache Software Foundation Apache WSS4J >= 4.0.0 and < 4.0.3
  • Apache Software Foundation Apache WSS4J >= 3.0.0 and < 3.0.7
  • Apache Software Foundation Apache WSS4J < 2.4.5
Patched Versions
  • Apache Software Foundation Apache WSS4J 4.0.3
  • Apache Software Foundation Apache WSS4J 3.0.7
  • Apache Software Foundation Apache WSS4J 2.4.5

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Apache Software Foundation Apache WSS4J and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 16, 2026Published
  • Nov 17, 2026CVSS score changed: 0.0 to 7.5
  • Nov 17, 2026Severity changed: MEDIUM to HIGH
  • Nov 20, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Software Foundation Apache WSS4J CVEsYou are reading CVE-2026-115690. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 25, 2026 12:25 UTC