CVE-2026-43828 PUBLISHED

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

Assigner: apache
Reserved: 03.05.2026 Published: 25.05.2026 Updated: 26.05.2026

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.

Metrics

CVSS 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
CVSS Score: 5.9

Product Status

Vendor Apache Software Foundation
Product Apache Shiro
Versions Default: unaffected
  • affected from 1.0 to 2.1.0 (incl.)
  • affected from 3.0.0-alpha-0 to 3.0.0-alpha-1 (incl.)

Credits

  • Meteor_Kai <1318723916@qq.com> finder
  • Lenny Primak <lenny@flowlogix.com> remediation developer

References

Problem Types

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