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

Published Sep 30, 2026
·
Updated

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 Software

1 affected component
Apache WSS4J<4.0.2, <3.0.6, <2.4.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache WSS4J to a version that resolves this vulnerability.

    Fixed in 4.0.2

Event History

Sep 30, 2026
CVE Published
via MITRE·11:57 AM
Data Sourced
via MITRE·11:57 AM
Description
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using the StAX streaming WS-SecurityPolicy validator are affected when their policy uses certain relative or unsupported XPath expressions for required element protection.

2

What does an attacker need to do to exploit it?

A remote SOAP peer must send a SOAP message containing an element that policy requires to be signed or encrypted. Under the affected XPath handling, validation can fail to match that element path and allow the element without the expected protection.

3

What versions address the issue?

Upgrade Apache WSS4J to version 4.0.2, 3.0.6, or 2.4.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203