Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:U/V:X/RE:L/U:Amber
AC:H reflects the required network intercept position (AT:P in 4.0); UI:R because victim must send HTTP request; no integrity or availability impact applies.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
3Blast Radius
ecosystem impact- 41 maven packages depend on org.apache.shiro:shiro-web (11 direct, 30 indirect)
Ecosystem-wide dependent count for version 1.0.0-incubating.
DescriptionCVE.org
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.
AnalysisAI
Apache Shiro's default session and RememberMe cookie configuration omits the 'Secure' attribute, exposing JSESSIONID and rememberMe tokens to interception on any non-TLS channel in applications running versions 1.0 through 2.1.0 and 3.0.0-alpha-1. Successful exploitation allows an attacker with a network intercept position to capture and replay session or persistent-authentication tokens, fully hijacking an authenticated user's session. No public exploit has been identified and CISA has not listed this in KEV; EPSS at 0.03% (9th percentile) and SSVC exploitation status of 'none' indicate no observed active exploitation, making this primarily a risk in mixed HTTP/HTTPS or network-adjacent threat environments.
Technical ContextAI
CWE-614 (Sensitive Cookie in HTTPS Session Without 'Secure' Attribute) identifies the root cause: a missing browser security flag rather than a code execution flaw. Apache Shiro is a widely used Java security framework (CPE: cpe:2.3:a:apache_software_foundation:apache_shiro:*:*:*:*:*:*:*:*) providing authentication, authorization, session management, and cryptography. Its native session manager issues JSESSIONID cookies to maintain stateful sessions, and its RememberMe manager issues persistent authentication cookies. Without the Secure flag, RFC 6265 permits browsers to transmit these cookies over plain HTTP connections - enabling passive interception in mixed-content scenarios, HTTP downgrade attacks, or any network segment where HTTP traffic is observable. The vulnerability is entirely a configuration default issue in the cookie issuance layer, not a flaw in Shiro's cryptographic or authentication logic.
RemediationAI
Upgrade to Apache Shiro 2.1.1 (stable branch) or 3.0.0-alpha-2 or later (alpha branch), as confirmed by the vendor advisory at https://shiro.apache.org/security-reports.html#cve_2026_43828. These releases fix the default cookie configuration to include the Secure attribute. If immediate upgrade is not feasible, explicitly configure the Shiro SessionManager and RememberMeManager to set cookieSecure=true (or equivalent property) in your Shiro configuration file - this resolves the misconfiguration without requiring a library upgrade but must be re-verified after any upgrade to confirm the default does not re-override it. Deploying HTTP Strict Transport Security (HSTS) at the web server or load balancer layer reduces the attack surface by preventing HTTP downgrade scenarios, but does not fix the underlying missing Secure flag and carries the trade-off of requiring a valid TLS certificate covering all subdomains if includeSubDomains is used. Disabling the RememberMe feature entirely in applications that do not require persistent login eliminates the rememberMe cookie exposure vector with no functional impact to session-only workflows.
More in Apache Shiro
View allLDAP injection in Apache Shiro's DefaultLdapRealm allows remote unauthenticated attackers to manipulate Distinguished Na
Session fixation in Apache Shiro 1.0 through 2.1.0 and 3.0.0-alpha-1 exposes authenticated user sessions to hijacking be
Same technique Information Disclosure
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31734
GHSA-c6r4-qjmw-cvj2