CVE-2026-92899Apache WSS4J: UsernameToken replay protection bypassed by re-encoding the Nonce
Updated under an hour ago ()
Does this affect you?
It affects Apache Software Foundation Apache WSS4J and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
Apache WSS4J remembers the Nonce of each UsernameToken it accepts, so a captured token cannot be reused. It stored the Nonce as raw base64 text, but authentication decodes that text and uses the bytes.The same bytes can be written as base64 in several ways. An attacker who captured an authenticated request could re-send it with a space added to the Nonce: the password digest still verified, but the token no longer matched the remembered one, so the replay was accepted. Since a UsernameToken does not cover the message body, the captured token could then be reused on requests of the attacker's choosing until it expired. Affects deployments with a nonce replay cache configured, as Apache CXF has by default, and only tokens using a password digest. The cache is now keyed on the decoded Nonce. Users are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4, which fix this issue.
- CVSS
- 4.8 MEDIUM (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weakness (CWE)
- CWE-290
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- apache
- NVD analysis
- Analyzed
- Record last updated
- Sep 30, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Apache Software Foundation Apache WSS4J apache_software_foundation:apache_wss4j (from the name) | from 4.0.0 before 4.0.2; from 3.0.0 before 3.0.6; before 2.4.4 | CNA record |
apache wss4j apache:wss4j | before 2.4.4; from 3.0.0 before 3.0.6; from 4.0.0 before 4.0.2 | NVD |
References
- https://lists.apache.org/thread.html/nrzngsz1xm2lztq3t873663xx9wnrwm7vendor-advisory, mailing-list
- http://www.openwall.com/lists/oss-security/2026/09/30/13mailing-list, third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.