CVE-2026-43828

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

State
Published
Severity
5.9 Medium
Published
May 25, 2026
Updated
May 26, 2026
Reserved
May 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.9 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/AU:Y/R:U/RE:L/U:Amberapache

Weaknesses

  • CWE-614 Sensitive Cookie in HTTPS Session Without 'Secure' Attribute

Affected Products

ProductVersions
Apache ShiroApache Software Foundation
  • 1.0 through 2.1.0Affected
  • 3.0.0-alpha-0 through 3.0.0-alpha-1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.