CVE-2026-87830: Vulnerability in Apache Wss4j

Critical. 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.

CWE-917

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-917
Published
30 Sept 2026
Last change
6 Oct 2026

Affected products

Affected versions and the first fixed release

  • Apache Wss4j Before 2.4.4; From 3.0.0 before 3.0.6; From 4.0.0 before 4.0.2. Fixed in 2.4.4, 3.0.6, 4.0.2

Advisories

Vendor and security advisories

Related