MODERATE 6.0

CVE-2026-88019

Apache Shiro: Saved form replay may weaken cookie security and expose form data

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

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)

ArtifactAffected versionsFixed in
org.apache.shiro » shiro-jakarta-eepreliminary
>= 2.0.0-alpha-0, < 3.0.2
3.0.2

Blast radius

1affected artifacts
17affected versions
53dependent artifacts (est.)
1,540dependent versions

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

DepthDependent versions
Direct
192
2 hops
253
3 hops
581
4 hops
101
5 hops
95
6 hops
318

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.