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

Medium 5.9 Published Updated

Apache Shiro sends session and remember-me cookies without the Secure flag by default, allowing attackers to intercept them over unencrypted connections.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-43828?

CVE-2026-43828 is a medium-severity vulnerability in Apache Shiro, published on 25 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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.

Weakness: CWE-614

Which versions are affected by CVE-2026-43828?

4 open source packages ship an affected version, including org.apache.shiro:shiro-web. It affects 1 product.

PackageAffectedFixed in
org.apache.shiro:shiro-web MavenFrom 1.0.0-incubating2.2.0
org.apache.shiro:shiro-web MavenFrom 1.0.0-incubating2.2.0
org.apache.shiro:shiro-web MavenFrom 3.0.0-alpha-13.0.0-alpha-2
org.apache.shiro:shiro-web MavenFrom 3.0.0-alpha-13.0.0-alpha-2

Products include Apache Shiro.

How do I fix CVE-2026-43828?

Upgrade org.apache.shiro:shiro-web to a fixed version for your release line: 2.2.0 or 3.0.0-alpha-2.

Is CVE-2026-43828 being exploited?

There is no known exploitation of CVE-2026-43828 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2026-JV78946, DEBIAN-CVE-2026-43828, GHSA-c6r4-qjmw-cvj2, MINI-8w8x-wr77-cqx8, MINI-jwjv-r533-j26c, UBUNTU-CVE-2026-43828.

Is CVE-2026-43828 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free