CVE-2026-56130
Apache Shiro: Remember-me cookie isn't checked for expiry on the server
Also known as GHSA-m8g6-vrr2-x7ff
Mitigation
- Upgrade org.apache.shiro:shiro-core to 3.0.0 or later.
- Upgrade org.apache.shiro:shiro-web to 3.0.0 or later.
Who should check
- Projects that depend on Maven package org.apache.shiro:shiro-core (>= 1.2.4, < 3.0.0)
- Projects that depend on Maven package org.apache.shiro:shiro-web (>= 1.2.4, < 3.0.0)
- Anyone running Apache Software Foundation Apache Shiro >= 1.2.4, <= 2.99.99; >= 3.0.0-alpha-0, <= 3.0.0-alpha-1
Vulnerability facts
- Affected
- org.apache.shiro:shiro-core >= 1.2.4, < 3.0.0; org.apache.shiro:shiro-web >= 1.2.4, < 3.0.0
- Fixed in
- 3.0.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 2.0 (v4.0, CNA)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:GreenOpen in CVSS calculator
Show all 16 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: None
- Privileges required: Low
- User interaction: Active
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: Low
- Integrity impact on other systems: None
- Availability impact on other systems: None
- S: N
- AU: Y
- V: D
- RE: L
- U: Green
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-294
- Modified
Description
"Remember me" cookie age is not verified on the server. This potentially allows an attacker to intercept a valid cookie and reuse it indefinitely, even after the configured expiration time has passed. This issue affects all Apache Shiro versions from 1.2.4 through 2.x, and 3.0.0-alpha-1, only when RememberMe functionality is enabled. Upgrade to version 3.0.0 or later, which fixes the issue.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.shiro:shiro-core | >= 1.2.4, < 3.0.0 | 3.0.0 | osv |
| Maven org.apache.shiro:shiro-web | >= 1.2.4, < 3.0.0 | 3.0.0 | osv |
| Apache Software Foundation Apache Shiro | >= 1.2.4, <= 2.99.99; >= 3.0.0-alpha-0, <= 3.0.0-alpha-1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-56130. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-56130.md Affected: org.apache.shiro:shiro-core >= 1.2.4, < 3.0.0; org.apache.shiro:shiro-web >= 1.2.4, < 3.0.0 Fixed in: 3.0.0 Steps: 1. Search this machine and project for org.apache.shiro:shiro-core (Maven), org.apache.shiro:shiro-web (Maven), Apache Software Foundation Apache Shiro: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-56130 being exploited?
There is no confirmed exploitation: CVE-2026-56130 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-56130?
Low: CVSS 2.0 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-56130?
org.apache.shiro:shiro-core >= 1.2.4, < 3.0.0; org.apache.shiro:shiro-web >= 1.2.4, < 3.0.0.
Is there a fix for CVE-2026-56130?
Yes. Fixed in 3.0.0. Upgrade org.apache.shiro:shiro-core to 3.0.0 or later. Upgrade org.apache.shiro:shiro-web to 3.0.0 or later.
How do I check if I'm affected by CVE-2026-56130?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.