CVE-2026-87830: Vulnerability in Apache Software Foundation Apache WSS4J
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.
AI Analysis
Technical Summary
CVE-2026-87830 affects the Apache WSS4J library, specifically its StAX streaming WS-SecurityPolicy validator. The vulnerability arises because certain relative or unsupported XPath expressions can be transformed into paths that never match the actual XML element path. As a result, a remote SOAP peer may send a required element without the expected signature or encryption, potentially undermining message security. The issue is fixed in Apache WSS4J versions 4.0.2, 3.0.6, and 2.4.4.
Potential Impact
The vulnerability allows a remote SOAP peer to send required elements without the expected signature or encryption, which could lead to bypassing WS-SecurityPolicy enforcement. This may weaken the integrity and confidentiality guarantees of SOAP messages processed by affected versions of Apache WSS4J.
Mitigation Recommendations
Users should upgrade Apache WSS4J to version 4.0.2, 3.0.6, or 2.4.4 to remediate this vulnerability. These versions contain the official fixes addressing the XPath expression handling issue in the WS-SecurityPolicy validator.
CVE-2026-87830: Vulnerability in Apache Software Foundation Apache WSS4J
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 software
Apache Software Foundation
Apache WSS4J
pkg:maven/Apache Software Foundation/org.apache.wss4j:wss4j-ws-security-policy-staxRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-87830 affects the Apache WSS4J library, specifically its StAX streaming WS-SecurityPolicy validator. The vulnerability arises because certain relative or unsupported XPath expressions can be transformed into paths that never match the actual XML element path. As a result, a remote SOAP peer may send a required element without the expected signature or encryption, potentially undermining message security. The issue is fixed in Apache WSS4J versions 4.0.2, 3.0.6, and 2.4.4.
Potential Impact
The vulnerability allows a remote SOAP peer to send required elements without the expected signature or encryption, which could lead to bypassing WS-SecurityPolicy enforcement. This may weaken the integrity and confidentiality guarantees of SOAP messages processed by affected versions of Apache WSS4J.
Mitigation Recommendations
Users should upgrade Apache WSS4J to version 4.0.2, 3.0.6, or 2.4.4 to remediate this vulnerability. These versions contain the official fixes addressing the XPath expression handling issue in the WS-SecurityPolicy validator.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-09-09T11:00:14.995Z
- State
- PUBLISHED
Threat ID: 6abcfcc40df196e1a9fc0dd5
Added to database: 09/30/2026, 12:12:52 UTC
Last enriched: 09/30/2026, 12:27:08 UTC
Last updated: 09/30/2026, 13:03:41 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.