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

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-30T11:57:01.017Z
- Modified: 2026-10-06T17:26:47.927Z
- Weaknesses: CWE-917
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- org.apache.wss4j:wss4j-ws-security-policy-stax: from 4.0.0 before 4.0.2; from 3.0.0 before 3.0.6; before 2.4.4
- apache wss4j: before 2.4.4; from 3.0.0 before 3.0.6; from 4.0.0 before 4.0.2

## References

- <https://lists.apache.org/thread.html/lwlozb1x20d16f9dnyvoygc9rrhzq2vn> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/09/30/9> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-87830](https://www.cve.org/CVERecord?id=CVE-2026-87830), CVE Terms of Use, modified 2026-09-30
- NVD: [CVE-2026-87830](https://nvd.nist.gov/vuln/detail/CVE-2026-87830), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-87830 · Whole record: https://cve.day/CVE-2026-87830.json · Rebuilt by cve.day 2026-11-25T22:59:41.633Z
