Medium severity · published Sep 30, 2026
CVE-2026-92899
Apache WSS4J: UsernameToken replay protection bypassed by re-encoding the Nonce
4.8
CVSS
0.5%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 43% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AW
Apache WSS4J · Apache Software Foundation
4.0.0 before 4.0.2; 3.0.0 before 3.0.6; before 2.4.4 · source: vendor
WS
Wss4j · Apache
before 2.4.4; 3.0.0 before 3.0.6; 4.0.0 before 4.0.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-92899
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-92899
vendor-advisory
https://lists.apache.org/thread.html/nrzngsz1xm2lztq3t873663xx9wnrwm7
More from Apache WSS4J
9.8
CVE-2026-88920
Apache WSS4J: SAML Sender-Vouches Authentication Bypass
9.1
CVE-2026-89238
Apache WSS4J: WSS4J EncryptedHeader child confusion causing wrong protected-header selection
9.1
CVE-2026-87830
Apache WSS4J: Streaming WS-SecurityPolicy validation may skip element-protection checks.
7.5
CVE-2026-95616
Apache WSS4J: Unauthenticated denial of service via integer overflow in DER parsing of X.509 certificate extensions
7.5
CVE-2026-92121
Apache WSS4J: WS-SecurityPolicy signature checks skipped in the streaming code after an STR-Transform reference
