CVE-2026-43828

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

Published May 25, 2026 CVSS 4.0 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-c6r4-qjmw-cvj2 Apache Shiro sends sensitive cookies in HTTPS session without 'Secure' attribute
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:shiro:3.0.0:alpha1:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache shiro
Vendors & Products Apache
Apache shiro
Type Values Removed Values Added
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.
Title Apache Shiro: Shiro's native session and rememberMe cookies do not have secure flag set by default
Weaknesses CWE-614
References
Metrics cvssV4_0

{'score': 5.9, 'vector': 'CVSS: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:Amber'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
May 26, 2026, 12:38 PM
Reserved
May 3, 2026, 7:25 PM
Status
Analyzed
Published
May 25, 2026, 9:16 PM
Modified
Jul 24, 2026, 10:10 AM