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.
Published: 2026-09-30
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Bypass of SOAP message signature or encryption checks
Action: Apply patch
AI Analysis

Impact

The flaw resides in the StAX streaming WS‑SecurityPolicy validator, where certain relative or unsupported XPath expressions are transformed into paths that never match the real XML element path. As stated, a remote SOAP peer can therefore deliver a required element without the expected signature or encryption, allowing the attacker to send tampered or forged SOAP messages while avoiding the intended integrity checks.

Affected Systems

The vulnerability affects all versions of the Apache WSS4J library distributed by the Apache Software Foundation that lack the fix. The advisory recommends upgrading to version 4.0.2, 3.0.6, or 2.4.4, which contain the necessary code changes.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity and reflects the potential for remote attackers to subvert signature or encryption verification. EPSS data is not available, so the concrete likelihood of exploitation cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the attack vector is remote and requires sending crafted SOAP messages over the network to a target application that uses the affected library.

Generated by OpenCVE AI on October 1, 2026 at 00:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Apache WSS4J version 4.0.2, 3.0.6, or 2.4.4, which contains the patch for the XPath processing issue.
  • Ensure that any XPath expressions used in WS‑SecurityPolicy configurations are validated against a whitelist of supported forms to prevent invalid expressions from being processed.
  • Apply a network filter or application firewall rule to log or block anomalous SOAP requests that contain malformed or unexpected XPath components, providing an additional detection layer.

Generated by OpenCVE AI on October 1, 2026 at 00:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 06 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:wss4j:*:*:*:*:*:*:*:*

Wed, 30 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-264
CWE-643

Wed, 30 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-917
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 30 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache wss4j
Vendors & Products Apache
Apache wss4j

Wed, 30 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-264
CWE-643

Wed, 30 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
References

Wed, 30 Sep 2026 12:00:00 +0000

Type Values Removed Values Added
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.
Title Apache WSS4J: Streaming WS-SecurityPolicy validation may skip element-protection checks.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-30T19:47:41.782Z

Reserved: 2026-09-09T11:00:14.995Z

Link: CVE-2026-87830

cve-icon Vulnrichment

Updated: 2026-09-30T12:12:21.163Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-30T12:17:14.087

Modified: 2026-10-06T17:26:47.927

Link: CVE-2026-87830

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T00:30:06Z

Weaknesses
  • CWE-917

    Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')