CVE-2026-56091

Apache Shiro: Authentication bypass in Guice-Web integration

Published Jun 25, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
Description
When using Apache Shiro with the shiro-guice module in a web servlet context, a specially crafted HTTP request may cause an authentication bypass.
This vulnerability is similar to https://www.cve.org/CVERecord?id=CVE-2020-1957 https://www.cve.org/CVERecord , except that it affects the `shiro-guice` module instead of the `shiro-spring` module.

This issue affects all Apache Shiro versions through 2.x, and 3.0.0-alpha-1 only when using `shiro-guice` module in a web servlet context.

Upgrade to version 3.0.0 or later, which fixes the issue.

Analysis

AI-generated

Technical impact

A specially crafted HTTP request against Apache Shiro when the shiro-guice module is integrated in a web servlet context can bypass authentication, allowing an attacker to impersonate any user. This flaw is a credential management vulnerability (CWE-289) that undermines confidentiality and integrity of protected resources.

Affected Systems

The vulnerability affects all releases of Apache Shiro through version 2.x and the 3.0.0-alpha-1 release when the shiro-guice module is used within a servlet-based web application.

Risk and Exploitability

The CVSS score of 8.2 reflects a high severity exploitation risk, though no EPSS data is available and the vulnerability is not listed in the CISA KEV catalog. The attack vector is remote via HTTP, requiring only that the application exposes a servlet using shiro-guice. An attacker can craft requests without needing privileged credentials, which makes the exploit straightforward in a reachable web environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Shiro to version 3.0.0 or later, which contains the necessary fix for shiro-guice in servlet contexts.
  • If an upgrade cannot be performed immediately, remove or comment out the shiro-guice configuration from the servlet deployment descriptor to eliminate the vulnerable entry point.
  • As an interim barrier, restrict network access to the affected servlet endpoints using firewall rules or access control lists until the upgrade or removal is completed.

Generated by OpenCVE AI on June 25, 2026 at 12:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-qj64-jj84-w38j Apache Shiro shiro-guice module vulnerable to authentication bypass
History
Type Values Removed Values Added
First Time appeared Apache
Apache shiro
Vendors & Products Apache
Apache shiro
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description When using Apache Shiro with the shiro-guice module in a web servlet context, a specially crafted HTTP request may cause an authentication bypass. This vulnerability is similar to https://www.cve.org/CVERecord?id=CVE-2020-1957 https://www.cve.org/CVERecord , except that it affects the `shiro-guice` module instead of the `shiro-spring` module. This issue affects all Apache Shiro versions through 2.x, and 3.0.0-alpha-1 only when using `shiro-guice` module in a web servlet context. Upgrade to version 3.0.0 or later, which fixes the issue.
Title Apache Shiro: Authentication bypass in Guice-Web integration
Weaknesses CWE-289
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/S:P/AU:Y/V:D/RE:L/U:Amber'}

Weaknesses
  • CWE-289

    Authentication Bypass by Alternate Name

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jun 25, 2026, 12:10 PM
Reserved
Jun 18, 2026, 5:12 PM
Status
Deferred
Published
Jun 25, 2026, 9:16 AM
Modified
Oct 25, 2026, 11:10 PM