{"id":"CVE-2026-74763","aliases":["CVE-2026-74763"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Shiro: Authorization annotations not always enforced, depending on where they are placed","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-16T13:29:15.251Z","modified":"2026-11-20T17:21:10.283Z","severity":{"scorer":"apache","scheme":"CVSS: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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"apache","scheme":"CVSS: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","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.0.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Shiro","package":"org.apache.shiro:shiro-guice","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"3.0.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Shiro","package":"org.apache.shiro:shiro-aspectj","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-alpha-0","fixed":"3.0.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Shiro","package":"org.apache.shiro:shiro-cdi","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-alpha-0","fixed":"3.0.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Shiro","package":"org.apache.shiro:shiro-jakarta-ee","source":"cvelist"}],"references":[{"url":"https://lists.apache.org/thread/gfy3dyh5vfocp34l0bc6dy8gbbjgs3pf","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/14/4","tags":[],"sources":["cvelist","nvd"]}],"credits":["n0mi1k","Joshua Rogers","Wentao He","Lenny Primak <lenny@flowlogix.com>"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-16T20:31:11.228Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74763","url":"https://www.cve.org/CVERecord?id=CVE-2026-74763","licence":"CVE Terms of Use","modified":"2026-11-16T20:38:00.479Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74763","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74763","licence":"Public domain","modified":"2026-11-20T17:21:10.283Z"}],"updatedAt":"2026-11-25T22:59:50.877Z","epss":{"score":0.00437,"percentile":0.39749,"date":"2026-12-01T12:00:22.000Z"}}