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

- Severity: Medium 5.9 (CVSS:4.0, scored by apache) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-05-25T20:19:26.227Z
- Modified: 2026-07-24T10:10:00.197Z
- Also known as: GHSA-c6r4-qjmw-cvj2
- Weaknesses: CWE-614
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- org.apache.shiro:shiro-web: from 1.0 up to 2.1.0; from 3.0.0-alpha-0 up to 3.0.0-alpha-1
- org.apache.shiro:shiro-web (Maven): from 1.0.0-incubating before 2.2.0; from 3.0.0-alpha-1 before 3.0.0-alpha-2
- apache shiro: before 2.1.1; 3.0.0

## Every score

- apache: CVSS:4.0 5.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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/RE:L/U:Amber`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://shiro.apache.org/security-reports.html#cve_2026_43828> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/05/25/7> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43828> (advisory)
- <https://github.com/apache/shiro> (package)

## Sources

- CVE List: [CVE-2026-43828](https://www.cve.org/CVERecord?id=CVE-2026-43828), CVE Terms of Use, modified 2026-05-26
- GitHub Advisory Database: [GHSA-c6r4-qjmw-cvj2](https://github.com/advisories/GHSA-c6r4-qjmw-cvj2), CC-BY-4.0, modified 2026-06-30
- NVD: [CVE-2026-43828](https://nvd.nist.gov/vuln/detail/CVE-2026-43828), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-43828 · Whole record: https://cve.day/CVE-2026-43828.json · Rebuilt by cve.day 2026-11-25T22:59:22.292Z
