Description
In the WSS4J streaming (StAX) code, a signature reference using the WS-Security STR-Transform leaves an internal "inside signed content" flag permanently set. The WS-SecurityPolicy enforcer uses that flag to decide whether an element needs checking, so it stops evaluating SignedParts and SignedElements for the rest of the message. A policy requiring the SOAP Body to be signed is then satisfied even when the Body carries no signature, removing the protection against XML Signature Wrapping. Signature verification itself is unaffected. The DOM code is not affected. 
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: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Bypassing WS‑SecurityPolicy signature verification, enabling XML Signature Wrapping
Action: Immediate Upgrade
AI Analysis

Impact

In the Apache WSS4J StAX streaming implementation, a signature reference that uses the WS‑Security STR‑Transform sets an internal "inside signed content" flag permanently. The WS‑SecurityPolicy enforcer later consults this flag to decide whether to validate remaining SignedParts and SignedElements. Because the flag remains set, the enforcer stops further checks, making a policy that requires the SOAP Body to be signed appear satisfied even when the Body lacks a signature. This bypass does not affect the cryptographic verification of signatures themselves, but it eliminates protection against XML Signature Wrapping attacks by allowing an attacker to modify the body while still passing policy checks.

Affected Systems

The flaw impacts the streaming (StAX) component of Apache WSS4J released by the Apache Software Foundation. Versions older than 4.0.2 of the 4.x line, older than 3.0.6 of the 3.x line, and older than 2.4.4 of the 2.x line are vulnerable. The DOM-based implementation is unaffected.

Risk and Exploitability

An attacker who can send SOAP messages to a service that uses this library can craft a message that bypasses policy checks and performs an XML Signature Wrapping attack without needing to forge a signature. The CVSS score of 7.5 reflects the high impact of the vulnerability; however, the likelihood of exploitation cannot be quantified from the provided data. The issue is not currently listed in the CISA KEV catalog, suggesting it has not yet been widely exploited. The attack would be remote, requiring only network access to the application that processes signed SOAP messages.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache WSS4J to version 4.0.2, 3.0.6, or 2.4.4 to apply the fix.
  • If an immediate upgrade is not possible, add an explicit check to verify that the SOAP Body is signed and that the signature is valid before processing the message.
  • Consider disabling or avoiding use of WS‑SecurityPolicy configurations that depend on the STR‑Transform transformation until the library update is available.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 06 Oct 2026 17:30: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-665

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

Type Values Removed Values Added
Weaknesses CWE-693
Metrics cvssV3_1

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

ssvc

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


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

Type Values Removed Values Added
First Time appeared Apache
Apache wss4j
Weaknesses CWE-665
Vendors & Products Apache
Apache wss4j

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

Type Values Removed Values Added
References

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

Type Values Removed Values Added
Description In the WSS4J streaming (StAX) code, a signature reference using the WS-Security STR-Transform leaves an internal "inside signed content" flag permanently set. The WS-SecurityPolicy enforcer uses that flag to decide whether an element needs checking, so it stops evaluating SignedParts and SignedElements for the rest of the message. A policy requiring the SOAP Body to be signed is then satisfied even when the Body carries no signature, removing the protection against XML Signature Wrapping. Signature verification itself is unaffected. The DOM code is not affected.  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: WS-SecurityPolicy signature checks skipped in the streaming code after an STR-Transform reference
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-30T19:51:55.272Z

Reserved: 2026-09-15T16:17:48.810Z

Link: CVE-2026-92121

cve-icon Vulnrichment

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

cve-icon NVD

Status : Analyzed

Published: 2026-09-30T13:17:21.710

Modified: 2026-10-06T17:22:23.020

Link: CVE-2026-92121

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-693

    Protection Mechanism Failure