You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by Lenny Primak <lp...@apache.org> on 2026/05/25 19:50:45 UTC

CVE-2026-43828: Apache Shiro: Shiro's native session and rememberMe cookies do not have secure flag set by default

Severity: 

Affected versions:

- Apache Shiro (org.apache.shiro:shiro-web) 1.0 through 2.1.0
- Apache Shiro (org.apache.shiro:shiro-web) 3.0.0-alpha-0 through 3.0.0-alpha-1

Description:

Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.



This issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.

Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.

In the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.

Credit:

Meteor_Kai <13...@qq.com> (finder)
Lenny Primak <le...@flowlogix.com> (remediation developer)

References:

https://shiro.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-43828