HIGH 7.5

CVE-2026-92121

Apache WSS4J: WS-SecurityPolicy signature checks skipped in the streaming code after an STR-Transform reference

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.wss4j » wss4j-ws-security-staxpreliminary
< 2.4.4>= 3.0.0, < 3.0.6>= 4.0.0, < 4.0.2
2.4.4, 3.0.6, 4.0.2

Blast radius

1affected artifacts
84affected versions
1,350dependent artifacts (est.)
71,428dependent versions

61% of the dependent artifacts (827) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,582
2 hops
21,318
3 hops
23,294
4 hops
17,232
5 hops
6,020
6 hops
982

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.