What’s Vulnerable › Vulnerabilities

CVE-2026-87830: Apache WSS4J: Streaming WS-SecurityPolicy validation may skip element-protection checks.

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache WSS4J 2.4.4, 3.0.6, 4.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-87830 or the next vulnerability affects your stack