CVE-2026-88019
Apache Shiro: Saved form replay may weaken cookie security and expose form data
Description
When Apache Shiro is used with the Jakarta EE integration module, the automatic form saving feature weakens the security of a form that is resubmitted after login.
Cookies set by the application during the resubmission could lose their security attributes, such as Secure and SameSite.
In addition, the resubmitted form data and cookies could be sent to an untrusted host.
This issue affects Apache Shiro from 2.0.0-alpha through 3.0.1, only when using shiro-jakarta-ee integration module with form saving enabled (the default).
Mitigation: Upgrade to version 3.0.2 or later, which no longer replays the form over the network, and avoids this class of issues entirely.
Alternatively, you can set the org.apache.shiro.form-resubmit-host (String) and org.apache.shiro.form-resubmit-port (Integer) system properties to restrict the host and port that Shiro will connect to when resubmitting a form.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.shiro » shiro-jakarta-eepreliminary | >= 2.0.0-alpha-0, < 3.0.2 | 3.0.2 |
Blast radius
88% of the dependent artifacts (47) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 192 |
| 2 hops | 253 |
| 3 hops | 581 |
| 4 hops | 101 |
| 5 hops | 95 |
| 6 hops | 318 |
Most used dependents
- org.fcrepo » fcrepo-auth-common23 usages
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.tynamo » tapestry-security14 usages
- org.apache.camel » camel-shiro13 usages
- org.fcrepo » fcrepo-webapp13 usages
- org.apache.jena » jena-fuseki-war9 usages
- org.apache.camel » camel-catalog-lucene8 usages
- org.apache.camel » camel-route-parser7 usages
- org.apache.camel » camel-kamelet-main5 usages
- org.apache.camel » apache-camel5 usages
- org.apache.camel.quarkus » camel-quarkus-shiro4 usages
- org.apache.camel » camel-catalog-console3 usages
- org.apache.camel » camel-jbang-plugin-kubernetes3 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.
