Skip to main content

CVE-2026-87830: Vulnerability in Apache Software Foundation Apache WSS4J

0
High
VulnerabilityCVE-2026-87830cvecve-2026-87830
Published: 09/30/2026 (09/30/2026, 11:57:01 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Affected versions
>=4.0.0 <4.0.2>=3.0.0 <3.0.6>=0 <2.4.4
Apache Software Foundation/org.apache.wss4j:wss4j-ws-security-policy-stax
pkg:maven/Apache Software Foundation/org.apache.wss4j:wss4j-ws-security-policy-stax
Affected versions
>=4.0.0 <4.0.2>=3.0.0 <3.0.6>=0 <2.4.4

Run 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

AILast updated: 09/30/2026, 12:27:08 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses