Skip to content

org.apache.shiro:shiro-guice

Follow this package

Get the evidence behind this dependency. Browse imported advisories below, or check an exact version against OSV now. View source coverage.

Check the version you ship.

Get a fresh OSV lookup for an exact release. We send the package name and version to OSV without storing a report.

Advisories & recorded fixes

medium6.3
CVE-2026-74763

Apache Shiro: Authorization annotations not always enforced, depending on where they are placed

Authorization annotations, such as @RequiresRoles and @RequiresPermissions, are not always enforced in some class or interface hierarchies. Annotations declared on an interface were not enforced when using the shiro-guice, shiro-aspectj, shiro-cdi or shiro-jakarta-ee modules. In addition, annotations declared on a class or a superclass were not always enforced when using shiro-guice or shiro-aspectj, allowing an unauthorized caller to invoke methods that should be protected. This issue affects all Apache Shiro versions through 3.0.1, with impact depending on module and where annotations are declared.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

Apache Software Foundation · Apache Shiro / Apache Software Foundation · Apache Shiro
high8.2
CVE-2026-56091Package fixes recorded

Apache Shiro shiro-guice module vulnerable to authentication bypass

When using Apache Shiro with the shiro-guice module in a web servlet context, a specially crafted HTTP request may cause an authentication bypass. This vulnerability is similar to https://www.cve.org/CVERecord?id=CVE-2020-1957, except that it affects the shiro-guice module instead of the shiro-spring module.

Recorded fixes — org.apache.shiro:shiro-guice: 3.0.0. Check your release branch.

Exploitation not established

Affected range Recorded fix
From 2.0.0 before 3.0.0Ecosystem versions3.0.0

Version evidence: OSV · GHSA-qj64-jj84-w38j

View original version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "2.0.0"
        },
        {
          "fixed": "3.0.0"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "2.0.0",
    "2.0.1",
    "2.0.2",
    "2.0.3",
    "2.0.4",
    "2.0.5",
    "2.0.6",
    "2.1.0",
    "2.2.0",
    "2.2.1",
    "3.0.0-alpha-1"
  ]
}