CVE-2026-92899: medium-severity vulnerability in Apache WSS4J
Apache WSS4J: UsernameToken replay protection bypassed by re-encoding the Nonce
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 4.8epss 0.5%
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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Affected products
Apache Software Foundation · Apache WSS4JRelated CVEs — Apache WSS4J
In the same product, most dangerous first.
CVE-2026-88920CRITICALApache WSS4J: SAML Sender-Vouches Authentication BypassEPSS 0.6%CVE-2026-85532HIGHApache WSS4J: Insufficient Validation of Derived-Key ParametersEPSS 0.5%CVE-2026-92121HIGHApache WSS4J: WS-SecurityPolicy signature checks skipped in the streaming code after an STR-Transform referenceEPSS 0.5%CVE-2026-95616HIGHApache WSS4J: Unauthenticated denial of service via integer overflow in DER parsing of X.509 certificate extensionsEPSS 0.4%CVE-2026-89238CRITICALApache WSS4J: WSS4J EncryptedHeader child confusion causing wrong protected-header selectionEPSS 0.3%CVE-2026-115690HIGHApache WSS4J: Replay protection bypassed by concurrent copies of a messageEPSS 0.3%