{"id":"UBUNTU-CVE-2026-56091","details":"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.","modified":"2026-06-29T23:19:15.268511855Z","published":"2026-06-25T09:16:00Z","upstream":["CVE-2026-56091"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-56091"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-56091"},{"type":"REPORT","url":"https://lists.apache.org/thread/onmtxmy2qonbpx7xlw3o34x8sctv47r7"}],"affected":[{"package":{"name":"shiro","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.4-1","1.2.4-1ubuntu0.1~esm1","1.2.4-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.4-1ubuntu0.1~esm2","binary_name":"libshiro-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56091.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-2","1.3.2-3~18.04","1.3.2-3~18.04.1","1.3.2-3ubuntu0.18.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libshiro-java","binary_version":"1.3.2-3ubuntu0.18.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56091.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-4","1.3.2-4ubuntu0.1","1.3.2-4ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"libshiro-java","binary_version":"1.3.2-4ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56091.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-4","1.3.2-5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.2-5","binary_name":"libshiro-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56091.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-5","1.3.2-5ubuntu0.24.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.2-5ubuntu0.24.04.1~esm1","binary_name":"libshiro-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56091.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/shiro?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-6ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.2-6ubuntu1","binary_name":"libshiro-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56091.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-6ubuntu1","1.3.2-6ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libshiro-java","binary_version":"1.3.2-6ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56091.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}