{"id":"CVE-2026-74763","state":"PUBLISHED","title":"Apache Shiro: Authorization annotations not always enforced, depending on where they are placed","description":"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.","publishedAt":"2026-11-16T13:29:15.251Z","updatedAt":"2026-11-16T20:38:00.479Z","severity":{"score":6.3,"label":"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","source":"apache"},"assigner":"apache","products":["Apache Software Foundation Apache Shiro"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-guice","packageURL":"pkg:maven/org.apache.shiro/shiro-guice","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"},{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-aspectj","packageURL":"pkg:maven/org.apache.shiro/shiro-aspectj","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"},{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-cdi","packageURL":"pkg:maven/org.apache.shiro/shiro-cdi","defaultStatus":"unaffected","versions":[{"version":"2.0.0-alpha-0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"},{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-jakarta-ee","packageURL":"pkg:maven/org.apache.shiro/shiro-jakarta-ee","defaultStatus":"unaffected","versions":[{"version":"2.0.0-alpha-0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":["https://lists.apache.org/thread/gfy3dyh5vfocp34l0bc6dy8gbbjgs3pf","http://www.openwall.com/lists/oss-security/2026/11/14/4"],"weaknesses":["CWE-862"],"ingestedAt":"2026-11-16T20:40:05.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74763.json","commit":"37a35329e581c9b1e7cd849e484bfc4591e1d70b","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74763","state":"PUBLISHED","datePublished":"2026-11-16T13:29:15.251Z","dateUpdated":"2026-11-16T20:38:00.479Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-08-15T18:38:48.670Z"},"containers":{"cna":{"title":"Apache Shiro: Authorization annotations not always enforced, depending on where they are placed","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-guice","packageURL":"pkg:maven/org.apache.shiro/shiro-guice","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"},{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-aspectj","packageURL":"pkg:maven/org.apache.shiro/shiro-aspectj","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"},{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-cdi","packageURL":"pkg:maven/org.apache.shiro/shiro-cdi","defaultStatus":"unaffected","versions":[{"version":"2.0.0-alpha-0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"},{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-jakarta-ee","packageURL":"pkg:maven/org.apache.shiro/shiro-jakarta-ee","defaultStatus":"unaffected","versions":[{"version":"2.0.0-alpha-0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":[{"url":"https://lists.apache.org/thread/gfy3dyh5vfocp34l0bc6dy8gbbjgs3pf","tags":["vendor-advisory"]}],"metrics":[{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NEGLIGIBLE","Automatable":"NO","Recovery":"NOT_DEFINED","valueDensity":"DIFFUSE","vulnerabilityResponseEffort":"LOW","providerUrgency":"AMBER","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.3,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","description":"CWE-862 Missing Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-11-16T13:29:15.251Z"},"source":{"discovery":"EXTERNAL"},"credits":[{"lang":"en","value":"n0mi1k","type":"finder"},{"lang":"en","value":"Joshua Rogers","type":"finder"},{"lang":"en","value":"Wentao He","type":"finder"},{"lang":"en","value":"Lenny Primak <lenny@flowlogix.com>","type":"remediation developer"}],"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/11/14/4"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-11-16T14:21:23.528Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-16T20:31:11.228490Z","id":"CVE-2026-74763","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-16T20:38:00.479Z"}}]}}}