Skip to content
RedCVE

CVE-2026-92899Apache Wss4j authentication bypass by spoofing

ApachePublished:

CVSS score

4.8

Medium

CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0

Exploit probability (EPSS)

0.51%

0.51% chance of exploitation in the next 30 days, higher than 44.3% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: security@apache.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Apache Wss4j and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Apache WSS4J to 2.4.4, 3.0.6, 4.0.2 or later, on the branch you run.
  3. If you can't update right away

    Apply the workaround or mitigation in the vendor's advisory until you can update:

  4. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected products

Affected productsVersions
Apache Wss4j< 2.4.4 · ≥ 3.0.0, < 3.0.6 · ≥ 4.0.0, < 4.0.2
Apache Apache WSS4J≥ 4.0.0, < 4.0.2 · ≥ 3.0.0, < 3.0.6 · < 2.4.4

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-92899 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-92899?

CVE-2026-92899 has a CVSS 3.1 base score of 4.8 (medium).

Which versions are affected?

Apache Wss4j (< 2.4.4; ≥ 3.0.0, < 3.0.6; ≥ 4.0.0, < 4.0.2), Apache Apache WSS4J (≥ 4.0.0, < 4.0.2; ≥ 3.0.0, < 3.0.6; < 2.4.4)

Is there a patch for CVE-2026-92899?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.