CVE-2026-88019 Apache Shiro: Saved form replay may weaken cookie security and expose form data
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.shiro/shiro-jakarta-ee(Maven) | >= 2.0.0-alpha-0, < 3.0.2 | 3.0.2 |
| debian/shiro(Debian:12) | All versions | No fix listed |
| debian/shiro(Debian:12) | = 1.3.2-5 | No fix listed |
| debian/shiro(Debian:12) | = 1.3.2-6 | No fix listed |
| debian/shiro(Debian:13) | All versions | No fix listed |
| debian/shiro(Debian:13) | = 1.3.2-6 | No fix listed |
| debian/shiro(Debian:14) | All versions | No fix listed |
| debian/shiro(Debian:14) | = 1.3.2-6 | No fix listed |
| ubuntu/shiro(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/shiro(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/shiro(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/shiro(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2026-88019 vendor-advisory
- bugs.debian.org issue-tracking
- lists.apache.org vendor-advisory
- www.openwall.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org