{"id":"CVE-2026-87830","title":"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","summary":"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 witho…","severity":"critical","cvss":9.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-917"],"vendor":"apache","product":"wss4j","affected":["wss4j < 2.4.4","wss4j >= 3.0.0, < 3.0.6","wss4j >= 4.0.0, < 4.0.2"],"patched":["wss4j 4.0.2"],"published":"2026-09-30","updated":"2026-10-06","sourceUpdated":"2026-10-06T17:26:47.927","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-87830","references":[{"url":"https://lists.apache.org/thread.html/lwlozb1x20d16f9dnyvoygc9rrhzq2vn","label":"security@apache.org"},{"url":"http://www.openwall.com/lists/oss-security/2026/09/30/9","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd","cve.org"],"epss":0.00217,"epssPercentile":0.12125,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-30T19:46:48.561887Z"},"ingestedAt":"2026-09-30T12:02:58.585Z","slug":"CVE-2026-87830","body":"## Overview\n\nIn 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.\nUsers are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4, which fix this issue.\n\n## Affected\n\n- `wss4j < 2.4.4`\n- `wss4j >= 3.0.0, < 3.0.6`\n- `wss4j >= 4.0.0, < 4.0.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `wss4j 4.0.2`","depth":"midnight","depthScore":50,"depthScoreParts":{"impact":50.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":213945,"id":"CVE-2026-87830","ts":1790799887410,"field":"cvss","old":null,"new":"9.1"},{"seq":213944,"id":"CVE-2026-87830","ts":1790799887410,"field":"severity","old":"none","new":"critical"}]}