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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | shiro | no fix listed | DEBIAN-CVE-2026-43828 |
| Debian:13 | shiro | no fix listed | DEBIAN-CVE-2026-43828 |
| Debian:14 | shiro | no fix listed | DEBIAN-CVE-2026-43828 |
| Maven | org.apache.shiro:shiro-web | 2.2.0 | GHSA-c6r4-qjmw-cvj2 |
| Maven | org.apache.shiro:shiro-web | 3.0.0-alpha-2 | GHSA-c6r4-qjmw-cvj2 |
| Ubuntu:22.04:LTS | shiro | no fix listed | UBUNTU-CVE-2026-43828 |
| Ubuntu:25.10 | shiro | no fix listed | UBUNTU-CVE-2026-43828 |
| Ubuntu:26.04:LTS | shiro | no fix listed | UBUNTU-CVE-2026-43828 |
| Ubuntu:26.10 | shiro | no fix listed | UBUNTU-CVE-2026-43828 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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