{"id":"CVE-2026-74763","published":"2026-11-16T13:29:15Z","modified":"2026-11-16T20:38:00Z","title":"Apache Shiro: Authorization annotations not always enforced, depending on where they are placed","vendor":"Apache","product":"Apache Shiro","tier":"tail","description":{"text":"Authorization annotations, such as @RequiresRoles and @RequiresPermissions, are not always enforced in some class or interface hierarchies.\nAnnotations declared on an interface were not enforced when using the shiro-guice, shiro-aspectj, shiro-cdi or shiro-jakarta-ee modules.\nIn 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.\nThis issue affects all Apache Shiro versions through 3.0.1, with impact depending on module and where annotations are declared.\n\nMitigation: Upgrade to version 3.0.2 or later, which fixes the issue. The annotation closest to the invoked method now takes precedence.\nAlternatively, declare authorization annotations directly on each protected implementing method.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/S:N/AU:N/V:D/RE:L/U:Amber","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00437,"percentile":0.38763,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://lists.apache.org/thread/gfy3dyh5vfocp34l0bc6dy8gbbjgs3pf","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/14/4","tags":[]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":7.75},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Shiro","versions":["< 3.0.2"]},{"vendor":"Apache Software Foundation","product":"Apache Shiro","versions":["< 3.0.2"]},{"vendor":"Apache Software Foundation","product":"Apache Shiro","versions":[">= 2.0.0-alpha-0, < 3.0.2"]},{"vendor":"Apache Software Foundation","product":"Apache Shiro","versions":[">= 2.0.0-alpha-0, < 3.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-16T20:31:11.228490Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-126383","exploited":false,"provenance":"source"}}