Skip to content

← Public intelligence

Maven package

org.apache.shiro:shiro-core

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

12 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Low, CVSS 2.0MavenAmendedPublished

    Apache Shiro's "remember me" cookie age is not verified on the server.

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

    Affected
    • Maven org.apache.shiro:shiro-core >= 1.2.4, < 3.0.0
    Fixed in
    3.0.0· Vendor fix available
    Issue
    "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.

    Recommended action: Upgrade to 3.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.com (1)osv.dev (2)Source checked Evidence →
  2. High, CVSS 8.8MavenPublished

    Apache Shiro: LDAP DN Injection in DefaultLdapRealm

    CVE-2026-49268 · GHSA-x96m-rh44-vgv8

    Affected
    • Maven org.apache.shiro:shiro-core < 2.2.1; >= 3.0.0-alpha-0, < 3.0.0-alpha-2
    Fixed in
    3.0.0-alpha-22.2.1· Vendor fix available
    Issue
    A remote attacker can inject LDAP special characters into the Distinguished Name (DN) construction in DefaultLdapRealm class. User-supplied username input is directly concatenated into the LDAP DN template without any escaping of RFC 2253 special characters. This allows an attacker to manipulate the DN structure used for LDAP bind authentication, potentially bypassing authentication or impersonating other users. This issue affects all Apache Shiro versions through 2.2.0, and 3.0.0-alpha-1 when using DefaultLdapRealm Upgrade to Apache Shiro 2.2.1 or 3.0.0-alpha-2 or later, which fixes the issue.

    Recommended action: Upgrade to 3.0.0-alpha-2 (pre-release) or 2.2.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 5.9MavenPublished

    Apache Shiro has a session fixation vulnerability

    CVE-2026-43827 · GHSA-fcvm-3cpj-f9qx

    Affected
    • Maven org.apache.shiro:shiro-core >= 1.0.0-incubating, < 2.2.0; >= 3.0.0-alpha-1, <= 3.0.0-alpha-1
    Fixed in
    2.2.03.0.0-alpha-2· Vendor fix available
    Issue
    Default configurations of Apache Shiro have a session fixation vulnerability. This issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1. Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue. In the affected versions, when a session already exists, it is not invalidated upon successful login, nor is a new session being generated with a new ID.

    Recommended action: Upgrade to 3.0.0-alpha-2 (pre-release) or 2.2.0 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Low, CVSS 1.0MavenPublished

    Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability

    CVE-2026-23901 · GHSA-c4qc-4q9p-m9q9

    Affected
    • Maven org.apache.shiro:shiro-core < 2.1.0
    Fixed in
    2.1.0· Vendor fix available
    Issue
    Observable Timing Discrepancy vulnerability in Apache Shiro. This issue affects Apache Shiro: from 1., 2. before 2.0.7. Users are recommended to upgrade to version 2.0.7 or later, which fixes the issue. Prior to Shiro 2.0.7, code paths for non-existent vs. existing users are different enough, that a brute-force attack may be able to tell, by timing the requests only, determine if the request failed because of a non-existent user vs. wrong password. The most likely attack vector is a local attack only. Shiro security model https://shiro.apache.org/security-model.html#usernameenumeration discusses this as well. Typically, brute force attack can be mitigated at the infrastructure level.

    Recommended action: Upgrade to 2.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Critical, CVSS 9.8MavenPublished

    Apache Shiro Authentication Bypass vulnerability

    CVE-2022-40664 · GHSA-45x9-q6vj-cqgq

    Affected
    • Maven org.apache.shiro:shiro-core < 1.10.0
    Fixed in
    1.10.0· Vendor fix available
    Issue
    Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.

    Recommended action: Upgrade to 1.10.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Critical, CVSS 9.8MavenPublished

    Improper Authorization in Apache Shiro

    CVE-2022-32532 · GHSA-4cf5-xmhp-3xj7

    Affected
    • Maven org.apache.shiro:shiro-core < 1.9.1
    Fixed in
    1.9.1· Vendor fix available
    Issue
    Apache Shiro before 1.9.1, A RegexRequestMatcher can be misconfigured to be bypassed on some servlet containers. Applications using RegExPatternMatcher with . in the regular expression are possibly vulnerable to an authorization bypass.

    Recommended action: Upgrade to 1.9.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. Critical, CVSS 9.8Exploited · CISA KEVMavenPublished

    Improper Access Control in Apache Shiro

    CVE-2016-4437 · GHSA-p836-389h-j692

    Affected
    • Maven org.apache.shiro:shiro-core <= 1.2.4
    Fixed in
    1.2.5· Vendor fix available
    Issue
    Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember me" feature, allows remote attackers to execute arbitrary code or bypass intended access restrictions via an unspecified request parameter.

    Recommended action: Upgrade to 1.2.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.com (1)cisa.gov (2)Source checked Evidence →
  8. Critical, CVSS 9.8MavenPublished

    Apache Shiro vulnerable to a specially crafted HTTP request causing an authentication bypass

    CVE-2021-41303 · GHSA-f6jp-j6w3-w9hm

    Affected
    • Maven org.apache.shiro:shiro-core < 1.8.0
    Fixed in
    1.8.0· Vendor fix available
    Issue
    Apache Shiro before 1.8.0, when using Apache Shiro with Spring Boot, a specially crafted HTTP request may cause an authentication bypass. Users should update to Apache Shiro 1.8.0.

    Recommended action: Upgrade to 1.8.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. High, CVSS 7.5MavenPublished

    Authentication bypass in Apache Shiro

    CVE-2020-13933 · GHSA-2vgm-wxr3-6w2j

    Affected
    • Maven org.apache.shiro:shiro-core < 1.6.0
    Fixed in
    1.6.0· Vendor fix available
    Issue
    Apache Shiro before 1.6.0, when using Apache Shiro, a specially crafted HTTP request may cause an authentication bypass.

    Recommended action: Upgrade to 1.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. Critical, CVSS 9.8MavenPublished

    Improper Authentication in Apache Shiro

    CVE-2020-1957 · GHSA-26gr-cvq3-qxgf

    Affected
    • Maven org.apache.shiro:shiro-core < 1.5.2
    Fixed in
    1.5.2· Vendor fix available
    Issue
    Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.

    Recommended action: Upgrade to 1.5.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. Critical, CVSS 9.8MavenPublished

    Improper Authentication in Apache Shiro

    CVE-2020-11989 · GHSA-72w9-fcj5-3fcg

    Affected
    • Maven org.apache.shiro:shiro-core < 1.5.3
    Fixed in
    1.5.3· Vendor fix available
    Issue
    Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management. Apache Shiro before 1.5.3, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.

    Recommended action: Upgrade to 1.5.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. High, CVSS 7.5MavenPublished

    Improper input validation in Apache Shiro

    CVE-2019-12422 · GHSA-r679-m633-g7wc

    Affected
    • Maven org.apache.shiro:shiro-core < 1.4.2
    Fixed in
    1.4.2· Vendor fix available
    Issue
    Apache Shiro before 1.4.2, when using the default "remember me" configuration, cookies could be susceptible to a padding attack.

    Recommended action: Upgrade to 1.4.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →