GHSA-m8g6-vrr2-x7ff
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Shiro app with RememberMe enabled
-
DeliveryIntercept or steal victim's RememberMe cookie
-
ExploitWait for cookie's configured expiry to pass
-
ExecutionReplay expired cookie against application
-
ImpactGain persistent authenticated session as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Replay attack prevention
|
| Exploitation Conditions | Exploitation requires two conditions to be met simultaneously: first, the Apache Shiro application must have RememberMe functionality explicitly enabled (this is a configurable feature, not enabled in all deployments); second, the attacker must have already obtained a valid RememberMe cookie issued to a legitimate user, through a separate attack vector such as network interception, cross-site scripting, or access to browser storage. Exploitation is limited to the shiro-web artifact - applications using Shiro solely for non-web (e.g., CLI or RMI) contexts are not affected. The vulnerability does not enable initial cookie forgery; Shiro's cryptographic signing of RememberMe cookies remains intact, so only previously issued, legitimately signed cookies can be replayed. Exploitation is further constrained to versions 1.2.4 and later through 2.x, as prior versions do not implement RememberMe in the affected manner. |
| Impact | Real-world risk is moderate-to-elevated for applications that rely on RememberMe for convenience. The CVSS score and vector were not provided by the vendor or NVD at time of analysis, so metrics below are independently assessed. The attack is network-reachable but requires a prerequisite: the attacker must first obtain a valid RememberMe cookie, which typically demands a separate vector such as network interception (MITM), XSS, or physical access to a browser store. Attack complexity is therefore high, which tempers the severity from a raw impact perspective. No EPSS score is available. No KEV listing exists. No POC is known to be public. However, the breadth of the affected version range - the entire Apache Shiro 2.x line and prior releases back to 1.2.4, with no within-branch patch available for 2.x users - significantly increases exposure in practice. Organizations that cannot immediately migrate to 3.0.0 (a major version jump from 2.x) face a prolonged risk window. The missing CVSS vector is a data gap; authentication requirements and impact scope are inferred from the description rather than confirmed by a vendor-supplied vector. |
| Exploit ScenarioDerived | An attacker positioned to intercept HTTPS traffic via a MITM scenario on an untrusted network, or able to exfiltrate browser cookie storage through a separate XSS vulnerability, captures a victim's Shiro RememberMe cookie issued during an authenticated session. Even after the configured cookie expiration period passes and the victim's browser discards the cookie, the attacker replays the stolen cookie against the application and is granted full session access as the victim, indefinitely. No public proof-of-concept code is known to exist at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Insufficient session expiration in Apache Shiro's RememberMe feature allows a stolen cookie to be replayed indefinitely, bypassing the configured cookie age restriction. All shiro-web deployments from version 1.2.4 through the entire 2.x line and the 3.0.0-alpha-1 pre-release are affected whenever RememberMe is enabled. An attacker who intercepts a victim's RememberMe cookie - through network interception, XSS, or similar means - can reuse it without time limit, effectively maintaining persistent unauthorized access to the victim's session even after the configured expiration has elapsed. No public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade to Apache Shiro 3.0.0 or later, which is the vendor-confirmed fix version per the OSS-Security advisory (https://seclists.org/oss-sec/2026/q2/1019). Note that no patch has been released for the 2.x branch; this is a major-version upgrade, and teams should evaluate API and configuration compatibility before migrating. As a compensating control where immediate upgrade is not feasible, disable the RememberMe feature entirely - this eliminates the vulnerable code path at the cost of requiring users to re-authenticate on each session. If RememberMe cannot be disabled, consider implementing a server-side session store (e.g., a Redis-backed session cache) that enforces TTL independently of Shiro's cookie handling, and rotate the RememberMe cipher key regularly to invalidate outstanding cookies. Placing the application behind a WAF or reverse proxy that strips or blocks RememberMe cookies for sensitive endpoints may also limit exposure but does not address the root flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Shiro (org.apache.shiro:shiro-web) is a Java security framework providing authentication, authorization, session management, and cryptography for web applications. Its RememberMe feature issues a persistent cookie that re-authenticates users across browser restarts without requiring a full login. The root cause is that while the cookie carries a client-side expiry attribute (Max-Age or Expires), the server-side processing layer does not independently validate whether the cookie's age has exceeded the configured lifetime before honoring it. This is a classic CWE-613 (Insufficient Session Expiration) pattern: the server trusts the client's cookie presentation without enforcing a server-side temporal bound. Because Shiro's RememberMe cookies are cryptographically signed (using a configured cipher key), an attacker cannot forge a cookie from scratch - but a legitimately issued, stolen cookie remains valid server-side forever. Affected CPE: cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* for versions 1.2.4 through 2.99.99 and 3.0.0-alpha-0 through 3.0.0-alpha-1.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/S:N/AU:Y/V:D/RE:L/U:Green
AC:H because exploitation requires prior cookie theft; C:H/I:H because replayed session grants full victim account access; no availability impact.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
1Description PRE-NVD
Articles & Coverage 2
Executive ViewAI
Apache Shiro's RememberMe feature (versions 1.2.4-3.0.0-alpha-1) contains a session expiration bypass that renders configured session timeouts ineffective-attackers who intercept a RememberMe cookie can maintain unauthorized access indefinitely without reauthentication. This creates persistent compromise risk for any user account where the cookie is stolen through network interception, XSS, or similar attack vectors. Organizations using RememberMe must immediately disable the feature or deploy compensating controls, as no vendor patch is currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: disable RememberMe functionality for all users or restrict to low-sensitivity operations only; implement server-side session timeout controls independent of client-side cookie expiration; add IP-binding or geolocation validation requiring reauthentication on anomalous access patterns; enforce multi-factor authentication for privilege escalation or sensitive transactions; deploy continuous monitoring for session replay and impossible travel scenarios; ensure TLS enforcement to prevent network-layer cookie interception.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-39229
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB