Read the docs

Apache Shiro does not always enforce authorization annotations

Priority LOW 25CWE-862Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Security bypass
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-862.

Summary

Apache Shiro versions through 3.0.1 do not always enforce authorization annotations such as @RequiresRoles and @RequiresPermissions when they are declared on an interface, class or superclass. This is a missing authorization check (CWE-862) whose effect depends on the module used and where the annotation is placed. An unauthorized caller can invoke methods that should be protected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Fixed Apache Shiro (Apache Software Foundation): 3.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Shirobefore 3.0.23.0.2Patch availableCNA
ApacheApache Shirobefore 3.0.23.0.2Patch availableCNA
ApacheApache Shiro2.0.0-alpha-0 to before 3.0.23.0.2Patch availableCNA
ApacheApache Shiro2.0.0-alpha-0 to before 3.0.23.0.2Patch availableCNA
  • Apache Shiro VendorApache Affected before 3.0.2 Fixed in 3.0.2 Patch available CNA
  • Apache Shiro VendorApache Affected before 3.0.2 Fixed in 3.0.2 Patch available CNA
  • Apache Shiro VendorApache Affected 2.0.0-alpha-0 to before 3.0.2 Fixed in 3.0.2 Patch available CNA
  • Apache Shiro VendorApache Affected 2.0.0-alpha-0 to before 3.0.2 Fixed in 3.0.2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*——Apache
  • cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* Versions — — ·Apache

Remediation

Upgrade Apache Shiro to version 3.0.2 or later, which fixes the issue and makes the annotation closest to the invoked method take precedence. Alternatively, declare authorization annotations directly on each protected implementing method.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.2
  • Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.2
  • Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.2
  • Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Apache Shiro 3.0.2

    6 records Highest priority Priority LOW 6 LOW

    Other records, highest priority first

    • TI-2026-92118 Saved form replay in Apache Shiro may weaken cookie securityPriority LOW 24
    • TI-2026-92129 Apache Shiro PropertiesRealm reload keeps deleted users activePriority LOW 9
    • TI-2026-92128 Empty stored credential matches empty password in Apache ShiroPriority LOW 9

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-74763
  2. 2026-11-16 Alias added: GHSA-wpcf-j6j4-3pq6
  3. 2026-11-16 CISA SSVC decision points changed

References

  • TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
  • TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-18186 Remote command execution in Apache HugeGraph-Server via Gremlin KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25106 Apache ActiveMQ OpenWire deserialization allows remote code execution KEVCVSS 3.1CRITICAL 10.0
See all 4172 →

Sources