CVE-2026-56091 PUBLISHED

Apache Shiro: Authentication bypass in Guice-Web integration

Assigner: apache
Reserved: 18.06.2026 Published: 25.06.2026 Updated: 25.06.2026

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.

Metrics

CVSS 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
CVSS Score: 8.2

Product Status

Vendor Apache Software Foundation
Product Apache Shiro
Versions Default: unaffected
  • affected from 0 to 2.99.99 (incl.)
  • affected from 3.0.0-alpha-0 to 3.0.0-alpha-1 (incl.)

Credits

  • LocalHost <localhost.detect@gmail.com> finder
  • Lenny Primak <lenny@flowlogix.com> remediation developer

References

Problem Types

  • CWE-289 Authentication Bypass by Alternate Name CWE