CVE-2026-92899Apache WSS4J: UsernameToken replay protection bypassed by re-encoding the Nonce
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | wss4j | Fix pending | UBUNTU-CVE-2026-92899 | |
| Ubuntu 26.04 | wss4j | Under investigation | UBUNTU-CVE-2026-92899 | |
| Ubuntu 24.04 | wss4j | Under investigation | UBUNTU-CVE-2026-92899 | |
| Ubuntu 22.04 | wss4j | Under investigation | UBUNTU-CVE-2026-92899 | |
| Ubuntu 20.04 | wss4j | Fix pending | UBUNTU-CVE-2026-92899 | |
| Ubuntu 18.04 | wss4j | Fix pending | UBUNTU-CVE-2026-92899 | |
| Ubuntu 16.04 | wss4j | Fix pending | UBUNTU-CVE-2026-92899 | |
| Debian 14 | wss4j | Fix pending | DEBIAN-CVE-2026-92899 | |
| Debian 13 | wss4j | Fix pending | DEBIAN-CVE-2026-92899 | |
| Debian 12 | wss4j | Fix pending | DEBIAN-CVE-2026-92899 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache WSS4J: affected: 4.0.0 to before 4.0.2, 3.0.0 to before 3.0.6, before 2.4.4; fixed in
4.0.2,3.0.6,2.4.4
Vendor advisories:
- https://lists.apache.org/thread.html/nrzngsz1xm2lztq3t873663xx9wnrwm7 (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.