Apache WSS4J <=4.0.2 XPath Validator Bypass permitting unsigned SOAP
CVE-2026-87830 Published on September 30, 2026
Apache WSS4J: Streaming WS-SecurityPolicy validation may skip element-protection checks.
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.
Products Associated with CVE-2026-87830
Want to know whenever a new CVE is published for Apache Wss4j? stack.watch will email you.
Affected Versions
Apache Software Foundation Apache WSS4J:- Version 4.0.0 and below 4.0.2 is affected.
- Version 3.0.0 and below 3.0.6 is affected.
- Before 2.4.4 is affected.