Apache Shiro Vulnerability Allows Unauthorized Access to Protected Methods
A medium-severity vulnerability in Apache Shiro, tracked as CVE-2026-74763, allows unauthorized users to access restricted methods due to inconsistent enforcement of authorization annotations. Affected versions are up to 3.0.1, and the fix is available in 3.0.2.
ApacheWebVulnerabilitiesKey points
- CVE-2026-74763 is a medium-severity vulnerability in Apache Shiro affecting versions up to 3.0.1.
- The flaw allows unauthorized users to access restricted methods when annotations are placed on interfaces or superclasses in specific modules.
- The fix is available in Apache Shiro 3.0.2, which ensures the closest annotation to the invoked method takes precedence.
- Administrators are advised to upgrade or apply annotations directly to protected methods.
A vulnerability in Apache Shiro, tracked as CVE-2026-74763, has been identified as a medium-severity issue. The flaw stems from inconsistent enforcement of authorization annotations in certain class or interface structures. According to the Apache Shiro project, the problem affects all versions up to and including 3.0.1, with the impact varying depending on the module and where the annotations are placed. The vulnerability was discovered by n0mi1k, Joshua Rogers, and Wentao He, with Lenny Primak contributing to the remediation. The issue allows unauthorized users to invoke methods that should be restricted, particularly when annotations are applied to interfaces or superclasses in specific modules such as shiro-guice or shiro-aspectj. The recommended mitigation is to upgrade to version 3.0.2 or newer, which ensures that the closest annotation to the invoked method takes precedence. Alternatively, administrators can apply authorization annotations directly to each protected method. The vulnerability was reported to the Apache Shiro project and is documented under the CVE-2026-74763 identifier. Further details can be found on the Apache Shiro website or via the CVE database at https://www.cve.org/CVERecord?id=CVE-2026-74763.
What to do
- Upgrade to Apache Shiro version 3.0.2 or newer to resolve the issue.
- Apply authorization annotations directly to each method that requires protection if upgrading is not immediately feasible.
Original report
“CVE-2026-74763: Apache Shiro: Authorization annotations not always enforced, depending on where they are placed”
Posted by Lenny Primak on Nov 13 Severity: CVSS 4.0: 6.3 (medium) 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 Affected versions: - Apache Shiro (org.apache.shiro:shiro-guice) before 3.0.2 - Apache Shiro (org.apache.shiro:shiro-aspectj) before 3.0.2 - Apache Shiro (org.apache.shiro:shiro-cdi) 2.0.0-alpha-0 before 3.0.2 - Apache Shiro (org.apache.shiro:…
Vulnerabilities mentioned
- Retired Apache Submarine Has Critical API Authorization Bypass (CVE-2026-129817) With No Fix Planned
- JTL-Shop Backup Files Exposed via .htaccess Misconfiguration
- Contact form plugin for WordPress: unauthenticated arbitrary file upload via copyfiles (CVE-2026-115867)
- Apache Shiro ActiveDirectoryRealm Flaw Allows Login With Empty Username (CVE-2026-137686)
- CVE-2026-120353: Apache Airflow Standard provider, Apache Airflow CNCF Kubernetes provider, Apache Airflow Common SQL provider, Apache Airflow Common Ai provider: Code execution on the worker via Jinja in Dag run conf or task arguments passed to @task.bash and similar TaskFlow decorators