CVE-2026-74763 Apache Shiro: Authorization annotations not always enforced, depending on where they are placed
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.shiro/shiro-guice(Maven) | < 3.0.2 | 3.0.2 |
| org.apache.shiro/shiro-aspectj(Maven) | < 3.0.2 | 3.0.2 |
| org.apache.shiro/shiro-cdi(Maven) | >= 2.0.0-alpha-0, < 3.0.2 | 3.0.2 |
| org.apache.shiro/shiro-jakarta-ee(Maven) | >= 2.0.0-alpha-0, < 3.0.2 | 3.0.2 |
| debian/shiro(Debian:12) | All versions | No fix listed |
| debian/shiro(Debian:12) | = 1.3.2-5 | No fix listed |
| debian/shiro(Debian:12) | = 1.3.2-6 | No fix listed |
| debian/shiro(Debian:13) | All versions | No fix listed |
| debian/shiro(Debian:13) | = 1.3.2-6 | No fix listed |
| debian/shiro(Debian:14) | All versions | No fix listed |
| debian/shiro(Debian:14) | = 1.3.2-6 | No fix listed |
| ubuntu/shiro(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/shiro(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/shiro(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/shiro(Ubuntu:26.04) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2026-74763 vendor-advisory
- bugs.debian.org issue-tracking
- lists.apache.org vendor-advisory
- www.openwall.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org