AI and data stack advisories

Severe, 6 weeks2431Projects328

2431 severe, 6 weeks · 328 projects

Apache Shiro: missing authorization

Apache Software Foundation

CVE-2026-74763 · Published Nov 16, 2026 · updated Nov 20, 2026

Medium6.3
Fix: upgrade to 3.0.2 or later (3 fixed versions below)

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 versions

PackageAffectedFixed in
Apache Shiro
Product
< 3.0.23.0.2
< 3.0.23.0.2
>= 2.0.0-alpha-0, < 3.0.23.0.2
>= 2.0.0-alpha-0, < 3.0.23.0.2
Details and references
CVSS 4.0
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
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-862

More Apache Software Foundation advisories

All Apache Software Foundation