CVE-2026-43828: Apache Shiro Sensitive Cookie Transmission Vulnerability

org.apache.shiro:shiro-web Updated 30 Jun 2026

Summary

26/05/2026
Yes i
Moderate
5.9

CVE-2026-43828: Apache Shiro sends sensitive cookies in HTTPS session without 'Secure' attribute. Affects org.apache.shiro:shiro-web across 2 version ranges.

>= 1.0.0-incubating, < 2.2.0 >= 3.0.0-alpha-1, < 3.0.0-alpha-2

Fixed in 2.2.0 or 3.0.0-alpha-2, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Apache Shiro is a powerful and flexible open-source security framework that provides authentication, authorization, cryptography, and session management capabilities for Java applications. It is widely used for securing web applications and services. However, certain versions of Apache Shiro have a vulnerability that exposes sensitive cookies in HTTPS sessions without the 'Secure' attribute, which can lead to potential security risks.

Vulnerability Detail

The vulnerability arises from the default configuration of Apache Shiro, which sends sensitive cookies, specifically JSESSIONID and rememberMe cookies, in HTTPS sessions without the 'Secure' attribute. This means that these cookies could be transmitted over unencrypted connections, making them susceptible to interception by attackers. The affected versions include Apache Shiro from 1.0 to 2.1.0 and 3.0.0-alpha-1. The absence of the 'Secure' attribute allows cookies to be sent over non-HTTPS connections, increasing the risk of session hijacking and unauthorized access.

How To Fix

Latest published version: 3.0.1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 1.0.0-incubating, < 2.2.0 2.2.0
  • >= 3.0.0-alpha-1, < 3.0.0-alpha-2 3.0.0-alpha-2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, users can manually configure the session manager and Remember-Me manager to include the 'Secure' attribute for cookies. This can be done by modifying the Shiro configuration file to set the secure flag for cookies, ensuring they are only sent over HTTPS connections.

Conclusion

In summary, the Apache Shiro vulnerability (CVE-2026-43828) poses a risk by transmitting sensitive cookies without the 'Secure' attribute in HTTPS sessions. Users are strongly advised to upgrade to the latest patched versions to protect their applications from potential security threats.

See every vulnerability recorded for org.apache.shiro:shiro-web →

Share this vulnerability

FAQ

The impact includes the potential exposure of sensitive session cookies, which can lead to session hijacking and unauthorized access to user accounts.

The affected versions are Apache Shiro from 1.0 to 2.1.0 and 3.0.0-alpha-1.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

The CVSS score of this vulnerability is 5.9, indicating a moderate level of severity.

If you cannot upgrade immediately, ensure that your application is configured to use the 'Secure' attribute for cookies to mitigate the risk until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.shiro:shiro-web.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 3.0.1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 1.0.0-incubating, < 2.2.0 2.2.0
  • >= 3.0.0-alpha-1, < 3.0.0-alpha-2 3.0.0-alpha-2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback