CVE-2026-74763Apache Shiro: Authorization annotations not always enforced, depending on where they are…
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | shiro | Fix pending | UBUNTU-CVE-2026-74763 | |
| Ubuntu 26.04 | shiro | Under investigation | UBUNTU-CVE-2026-74763 | |
| Ubuntu 24.04 | shiro | Fix pending | UBUNTU-CVE-2026-74763 | |
| Ubuntu 22.04 | shiro | Under investigation | UBUNTU-CVE-2026-74763 | |
| Ubuntu 20.04 | shiro | Fix pending | UBUNTU-CVE-2026-74763 | |
| Ubuntu 18.04 | shiro | Fix pending | UBUNTU-CVE-2026-74763 | |
| Ubuntu 16.04 | shiro | Fix pending | UBUNTU-CVE-2026-74763 | |
| Debian 14 | shiro | Fix pending | DEBIAN-CVE-2026-74763 | |
| Debian 13 | shiro | Fix pending | DEBIAN-CVE-2026-74763 | |
| Debian 12 | shiro | Fix pending | DEBIAN-CVE-2026-74763 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Shiro: affected: before 3.0.2; fixed in
3.0.2 - Apache Software Foundation Apache Shiro: affected: 2.0.0-alpha-0 to before 3.0.2; fixed in
3.0.2
Vendor advisories:
- https://lists.apache.org/thread/gfy3dyh5vfocp34l0bc6dy8gbbjgs3pf (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.