CVE-2026-87830Apache Wss4j
Insufficient XPath Validation in Apache Wss4j
Critical 9.1 No auth needed
Follow: this CVE · Apache · Apache Wss4j We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 30, 2026
- Updated
- Oct 6, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-917
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
The StAX WS-SecurityPolicy validator in Apache Wss4j fails to properly validate certain relative or unsupported XPath expressions, allowing required SOAP elements to be sent without expected signature or encryption. A remote attacker can bypass security controls for integrity and confidentiality without authentication.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 2.4.4, 3.0.6, 4.0.2
Upgrade Apache Wss4j to version 2.4.4, 3.0.6, or 4.0.2 depending on your branch.
- Apply the vendor's security update for Wss4j.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | wss4j | < 2.4.4 |
| apache | wss4j | ≥ 3.0.0 < 3.0.6 |
| apache | wss4j | ≥ 4.0.0 < 4.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory