CVE-2026-74763 · Package
NO FIX YET · SEE WHAT TO DO
Apache Shiro annotations such as @RequiresRoles and @RequiresPermissions are not always enforced when declared on interfaces, or on classes and superclasses in shiro-guice and shiro-aspectj. An unauthorized caller can invoke methods that should be protected.
first public Nov 16, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Applications that use Apache Shiro with the shiro-guice, shiro-aspectj, shiro-cdi or shiro-jakarta-ee modules and protect methods with @RequiresRoles or @RequiresPermissions. Annotations on interfaces are affected in all four modules, and annotations on classes or superclasses are affected in shiro-guice and shiro-aspectj. Applications that do not use these modules or annotations can skip it.
Not affected if no-shiro-annotations, shiro-core-only
Who cares apache-shiro, java, shiro-aspectj, shiro-cdi, shiro-guice, shiro-jakarta-ee
shiro-guice, shiro-aspectj, shiro-cdi or shiro-jakarta-ee.3.0.2 or later.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.
Mitigation: Upgrade to version 3.0.2 or later, which fixes the issue. The annotation closest to the invoked method now takes precedence. Alternatively, declare authorization annotations directly on each protected implementing method.
This page as .md · .json · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:X/V:D/RE:L/U:Amber
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.