Medium severity · published May 25, 2026
CVE-2026-43828
Apache Shiro: Shiro's native session and rememberMe cookies do not have secure flag set by default
6.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 19% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
Apache Shiro · Apache Software Foundation
1.0 through 2.1.0; 3.0.0-alpha-0 through 3.0.0-alpha-1 · source: vendor
SH
Shiro · Apache
before 2.1.1; 3.0.0 · source: NVD
Affected product
AS
Apache Shiro
Apache Software Foundation
More from Apache Shiro
9.8
CVE-2022-40664
Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher
9.1
CVE-2026-49268
Apache Shiro: LDAP DN Injection in DefaultLdapRealm
8.2
CVE-2026-56091
Apache Shiro: Authentication bypass in Guice-Web integration
6.5
CVE-2026-58301
Apache Shiro: Server-side POST request may be steered to an alternate host
6.5
CVE-2026-43827
Apache Shiro: Session fixation: new session is not created after login by default