# CVE-2026-56130: Apache Shiro authentication bypass via RememberMe cookie replay

Source: https://junglewise.ai/threats/cve-2026-56130-apache-shiro-authentication-bypass-via-rememberme-cookie-replay  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-25. Updated: 2026-06-25  
License: CC BY 4.0 with a link back

CVE-2026-56130 · Severity: medium · CVSS 4 · Published 2026-06-25

Apache Shiro, a security framework for Java applications, contains a flaw in its 'Remember Me' login feature. An attacker who intercepts a user's login cookie can reuse it to gain access to the application indefinitely, even after the cookie was supposed to expire. This could lead to unauthorized account access if a user's session information is compromised.

Technologies: [org.apache.shiro:shiro-core (Maven)](https://junglewise.ai/threats/technologies/org-apache-shiro-shiro-core), [org.apache.shiro:shiro-web (Maven)](https://junglewise.ai/threats/technologies/org-apache-shiro-shiro-web). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2026-56130 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-56130 being exploited in the wild.

**How severe is CVE-2026-56130?** Medium severity, with a CVSS score of 4, published 25 June 2026.

**Which products and versions are affected?** org.apache.shiro:shiro-core (Maven) >= 1.2.4, < 3.0.0, ECOSYSTEM:introduced=1.2.4,fixed=3.0.0; org.apache.shiro:shiro-web (Maven) >= 1.2.4, < 3.0.0, ECOSYSTEM:introduced=1.2.4,fixed=3.0.0.

**Is there a fix for CVE-2026-56130?** Yes. org.apache.shiro:shiro-core (Maven): upgrade to 3.0.0 or later; org.apache.shiro:shiro-web (Maven): upgrade to 3.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-56130 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-56130?** Check whether you run org.apache.shiro:shiro-core (Maven) or org.apache.shiro:shiro-web (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.shiro:shiro-core (Maven): upgrade to 3.0.0 or later

  ```sh
  # set org.apache.shiro:shiro-core to 3.0.0 in your pom.xml or build.gradle
  ```

- org.apache.shiro:shiro-web (Maven): upgrade to 3.0.0 or later

  ```sh
  # set org.apache.shiro:shiro-web to 3.0.0 in your pom.xml or build.gradle
  ```


## Technical details

A vulnerability exists in Apache Shiro's RememberMe functionality where the server fails to validate the age of the 'Remember Me' cookie. This is classified as an authentication bypass by capture-replay (CWE-294). An attacker who successfully intercepts a valid 'Remember Me' cookie can replay it to the server to maintain an authenticated session indefinitely, bypassing configured expiration policies. The issue affects versions 1.2.4 through 2.x and 3.0.0-alpha-1. Users are advised to upgrade to version 3.0.0 or later to ensure server-side age verification is enforced.

## Affected products

- Apache Shiro 1.2.4 through 2.x, 3.0.0-alpha-1

## Identifiers

- CVE-2026-56130
- GHSA-m8g6-vrr2-x7ff

## Timeline

- 2026-06-25: disclosed
- 2026-06-25: advisory

## References

- [https://repo.maven.apache.org/maven2](https://repo.maven.apache.org/maven2)
- [https://lists.apache.org/thread/9k9b3bmlq516ylvf7cdp3dlrtdtmxbmo](https://lists.apache.org/thread/9k9b3bmlq516ylvf7cdp3dlrtdtmxbmo)

## Related threats

- [Apache Shiro LDAP injection in DefaultLdapRealm](https://junglewise.ai/threats/cve-2026-49268-apache-shiro-ldap-injection-in-defaultldaprealm)
- [Apache Shiro missing Secure attribute on sensitive cookies](https://junglewise.ai/threats/cve-2026-43828-apache-shiro-missing-secure-attribute-on-sensitive-cookies)
- [Apache Shiro session fixation in default configuration](https://junglewise.ai/threats/cve-2026-43827-apache-shiro-session-fixation-in-default-configuration)
- [Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability](https://junglewise.ai/threats/cve-2026-23901-apache-shiro-affected-by-an-observable-timing-discrepancy)
- [Apache Shiro vulnerable to path traversal](https://junglewise.ai/threats/cve-2023-46749-apache-shiro-vulnerable-to-path-traversal)
