Apache Shiro's "remember me" cookie age is not verified on the server.
Published 25 Jun 2026 · Updated 3 Nov 2026
Is your project on an affected org.apache.shiro:shiro-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=1.2.4 <3.0.0
- Fixed in
- 3.0.0
mvn versions:use-dep-version -Dincludes=org.apache.shiro:shiro-core -DdepVersion=3.0.0 -DforceVersion=true- Affected
- >=1.2.4 <3.0.0
- Fixed in
- 3.0.0
mvn versions:use-dep-version -Dincludes=org.apache.shiro:shiro-web -DdepVersion=3.0.0 -DforceVersion=trueDetails
"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.
Is GHSA-m8g6-vrr2-x7ff in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.shiro:shiro-core, and gives you the command that fixes it.
More advisories for org.apache.shiro:shiro-core
- HighCVE-2026-49268Apache Shiro: LDAP DN Injection in DefaultLdapRealm · 17 Jun 2026
- MediumCVE-2026-43827Apache Shiro has a session fixation vulnerability · 26 May 2026
- LowCVE-2026-23901Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability · 10 Feb 2026
- MediumCVE-2023-46749Apache Shiro vulnerable to path traversal · 15 Jan 2024
- CriticalCVE-2022-40664Apache Shiro Authentication Bypass vulnerability · 12 Oct 2022
- CriticalCVE-2022-32532Improper Authorization in Apache Shiro · 30 Jun 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-56130
- Linkgithub.com/github/advisory-database/pull/10074
- Linkgithub.com/apache/shiro/commit/e441ea37009a426b122c53b0120ae5879d00e354
- Packagegithub.com/apache/shiro
- Linklists.apache.org/thread/9k9b3bmlq516ylvf7cdp3dlrtdtmxbmo
- Linkwww.openwall.com/lists/oss-security/2026/06/24/8
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.