Live threats

All CVEs / Apache

CVE-2026-87830Apache Wss4j

Insufficient XPath Validation in Apache Wss4j

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Sep 30, 2026
Updated
Oct 6, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-917
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

The StAX WS-SecurityPolicy validator in Apache Wss4j fails to properly validate certain relative or unsupported XPath expressions, allowing required SOAP elements to be sent without expected signature or encryption. A remote attacker can bypass security controls for integrity and confidentiality without authentication.

Show the original NVD text

In the StAX streaming WS-SecurityPolicy validator, certain relative or unsupported XPath expressions can be converted into paths that never match the actual XML element path. A remote SOAP peer may therefore send a required element without the expected signature or encryption. Users are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4, which fix this issue.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 2.4.4, 3.0.6, 4.0.2

Upgrade Apache Wss4j to version 2.4.4, 3.0.6, or 4.0.2 depending on your branch.

Vendor advisory · lists.apache.org ↗

  1. Apply the vendor's security update for Wss4j.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
apachewss4j< 2.4.4
apachewss4j≥ 3.0.0 < 3.0.6
apachewss4j≥ 4.0.0 < 4.0.2

Official sources

References

Links published by the sources. Open them with care.