Maven
CVE-2026-74763
Apache Shiro: Authorization annotations not always enforced, depending on where they are placed
- Severity
- Medium 6.3
- Published
- 16 Nov 2026
- Last changed
- 16 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.0.2
- Exploit chance
- 0.4% in the next 30 daysHigher than 38% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Missing authorization (CWE-862)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS 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- Sources
- CVE Program
Description
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.
Affected software
| Software | Affected versions |
|---|---|
org.apache.shiro:shiro-aspectjMaven · osv:Maven:org.apache.shiro:shiro-aspectj |
|
org.apache.shiro:shiro-cdiMaven · osv:Maven:org.apache.shiro:shiro-cdi |
|
org.apache.shiro:shiro-guiceMaven · osv:Maven:org.apache.shiro:shiro-guice |
|
org.apache.shiro:shiro-jakarta-eeMaven · osv:Maven:org.apache.shiro:shiro-jakarta-ee |
|
About org.apache.shiro:shiro-aspectj
This is the only vulnerability in org.apache.shiro:shiro-aspectj in our list.
About org.apache.shiro:shiro-cdi
This is the only vulnerability in org.apache.shiro:shiro-cdi in our list.
About org.apache.shiro:shiro-guice
This is the only vulnerability in org.apache.shiro:shiro-guice in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-74763