Skip to main content

Apache Shiro EUVDEUVD-2026-39229

| CVE-2026-56130 LOW
Authentication Bypass by Capture-replay (CWE-294)
2.0
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Shiro app with RememberMe enabled
  2. Delivery
    Intercept or steal victim's RememberMe cookie
  3. Exploit
    Wait for cookie's configured expiry to pass
  4. Execution
    Replay expired cookie against application
  5. Impact
    Gain 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache Shiro 3.0.0-alpha-0 ≤3.0.0-alpha-1
Apache Shiro 1.2.4 ≤2.99.99

Affected Packages

maven org.apache.shiro:shiro-core fix: 3.0.0
maven org.apache.shiro:shiro-web fix: 3.0.0
euvd apache_shiro no fix

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

Vendor (CNA) PRIMARY 2.0 LOW
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
vuln.today AI 7.4 HIGH

AC:H because exploitation requires prior cookie theft; C:H/I:H because replayed session grants full victim account access; no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 25, 2026 - 09:23 NVD
2.0 (LOW)

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 399 maven packages depend on org.apache.shiro:shiro-core (75 direct, 324 indirect)
  • 131 maven packages depend on org.apache.shiro:shiro-web (46 direct, 85 indirect)

Ecosystem-wide dependent count for version 1.2.4 and other introduced versions.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
widely used Java security framework, common in enterprise Java apps
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy