p PatchFirst

CVE-2026-92899

CVE-2026-92899 · Apache WSS4J: UsernameToken replay protection bypassed by re-encoding the Nonce

CVSS 4.8 · Medium · EPSS 0.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • apache wss4jUpdate to 2.4.4 / 3.0.6 / 4.0.2
  • wss4j Debian 12No fix published
  • wss4j Debian 13No fix published
  • wss4j Debian 14No fix published
  • and 7 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="wss4j"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • apache wss4j

    Versions
    • ≥ 4.0.0, < 4.0.2: Affected (semver)
    • ≥ 3.0.0, < 3.0.6: Affected (semver)
    • ≥ 0, < 2.4.4: Affected (semver)

    Update to 2.4.4; Update to 3.0.6; Update to 4.0.2

  • wss4j Debian 12

    Versions
    • 1.6.19-3
    • 1.6.19-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • wss4j Debian 13

    Versions
    • 1.6.19-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • wss4j Debian 14

    Versions
    • 1.6.19-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • wss4j Ubuntu 16.04 LTS

    Versions
    • 1.6.15-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • wss4j Ubuntu 18.04 LTS

    Versions
    • 1.6.19-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • wss4j Ubuntu 20.04 LTS

    Versions
    • 1.6.19-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • wss4j Ubuntu 22.04 LTS

    Versions
    • 1.6.19-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • wss4j Ubuntu 24.04 LTS

    Versions
    • 1.6.19-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • wss4j Ubuntu 26.10

    Versions
    • 1.6.19-4build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • wss4j Ubuntu 26.04 LTS

    Versions
    • 1.6.19-4
    • 1.6.19-4build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →