CVE-2026-92121
Apache WSS4J: WS-SecurityPolicy signature checks skipped in the streaming code after an STR-Transform reference
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)
| Artifact | Affected versions | Fixed 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
61% of the dependent artifacts (827) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.cxf » cxf-rt-ws-security478 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.apache.cxf.services.sts » cxf-services-sts-core150 usages
- ddf.security.core » security-core-api142 usages
- org.apache.cxf » cxf-bundle127 usages
- ddf.security.core » security-core-impl109 usages
- ddf.security » ddf-security-common106 usages
- org.jboss.eap » wildfly-feature-pack88 usages
- org.mule.tools.maven » mule-maven-plugin74 usages
- org.kuali.rice » rice-impl65 usages
- org.apache.rampart » rampart-core60 usages
- org.apache.tomee » openejb-cxf-rs55 usages
- org.apache.cxf.karaf » apache-cxf54 usages
- org.ow2.petals » petals-bc-soap53 usages
- org.apache.cxf » cxf-rt-ws-rm52 usages
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.
