Vulnerability · Published May 25, 2026 · Assigned by apache

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

Medium 5.9

In plain English

A medium-severity security flaw in Apache Shiro from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.9Medium
Exploit odds (30 days)0.3%top 80.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12shirono fix listedDEBIAN-CVE-2026-43828
Debian:13shirono fix listedDEBIAN-CVE-2026-43828
Debian:14shirono fix listedDEBIAN-CVE-2026-43828
Mavenorg.apache.shiro:shiro-web2.2.0GHSA-c6r4-qjmw-cvj2
Mavenorg.apache.shiro:shiro-web3.0.0-alpha-2GHSA-c6r4-qjmw-cvj2
Ubuntu:22.04:LTSshirono fix listedUBUNTU-CVE-2026-43828
Ubuntu:25.10shirono fix listedUBUNTU-CVE-2026-43828
Ubuntu:26.04:LTSshirono fix listedUBUNTU-CVE-2026-43828
Ubuntu:26.10shirono fix listedUBUNTU-CVE-2026-43828

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Shiro 1.0 – through 2.1.03.0.0-alpha-0 – through 3.0.0-alpha-1

Weakness: CWE-614 · 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

References