CVE-2026-92899
published medium CVSS 3.1 · 4.8Apache WSS4J: UsernameToken replay protection bypassed by re-encoding the Nonce
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.wss4j:wss4j-ws-security-domApache WSS4J · 4.0.0 to < 4.0.2 · 3.0.0 to < 3.0.6 · 0 to < 2.4.4 · Other versions: unaffected | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache WSS4J | 4.0.0 to < 4.0.2 (affected · semver)3.0.0 to < 3.0.6 (affected · semver)0 to < 2.4.4 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
2- CWE-180 CWE-180 Incorrect behavior order: validate before canonicalize
- CWE-290 CWE-290 Authentication Bypass by Spoofing
References
2Provider assertions
3apache · cna
Apache WSS4J: UsernameToken replay protection bypassed by re-encoding the Nonce
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6899ccc776994195cbed521e8cd997c027b0a1e9b200ae50bf61a5f554f2dd37
- Ingested
- 07 Nov 2026, 23:49:18 UTC
- Source record
- Official CVE record