CVE-2026-74763
published medium CVSS 4.0 · 6.3Apache Shiro: Authorization annotations not always enforced, depending on where they are placed
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.shiro:shiro-guiceApache Shiro · 0 to < 3.0.2 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | org.apache.shiro:shiro-aspectjApache Shiro · 0 to < 3.0.2 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | org.apache.shiro:shiro-cdiApache Shiro · 2.0.0-alpha-0 to < 3.0.2 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | org.apache.shiro:shiro-jakarta-eeApache Shiro · 2.0.0-alpha-0 to < 3.0.2 · Other versions: unaffected | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- apache · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Shiro | 0 to < 3.0.2 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Shiro | 0 to < 3.0.2 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Shiro | 2.0.0-alpha-0 to < 3.0.2 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Shiro | 2.0.0-alpha-0 to < 3.0.2 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-862 CWE-862 Missing Authorization
References
2Provider assertions
3apache · cna
Apache Shiro: Authorization annotations not always enforced, depending on where they are placed
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 653895c05d1fbfd45140d6447d61c107fac2b2c1b5f432ecc28c5c9cd093c64c
- Ingested
- 16 Nov 2026, 20:42:28 UTC
- Source record
- Official CVE record