CVE-2020-1957
Improper Authentication in Apache Shiro
Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
- Record
CVE-2020-1957- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
- Record
CVE-2020-1957- Updated
- 2026-11-02
EUVDEUVD-2021-0897 No score
Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
- Record
EUVD-2021-0897- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-26gr-cvq3-qxgf
9.8
Improper Authentication in Apache Shiro
Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
- Record
GHSA-26gr-cvq3-qxgf- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
OSV
9.8
Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
- Record
CVE-2020-1957- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-1957
9.8
Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
- Record
DEBIAN-CVE-2020-1957- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-26gr-cvq3-qxgf
9.8
Improper Authentication in Apache Shiro
Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
- Record
GHSA-26gr-cvq3-qxgf- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-1957
9.8
Apache Shiro before 1.5.2, when using Apache Shiro with Spring dynamic controllers, a specially crafted request may cause an authentication bypass.
- Record
UBUNTU-CVE-2020-1957- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUSN-4740-1 No score
shiro vulnerabilities
It was discovered that Apache Shiro mishandled specially crafted requests. An attacker could use this vulnerability to bypass authentication mechanisms.
- Record
USN-4740-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.shiro:shiro-coreMaven |
before 1.5.2 | 1.5.2 |
shiroDebian:12 |
before 1.3.2-5 | 1.3.2-5 |
shiroDebian:13 |
before 1.3.2-5 | 1.3.2-5 |
shiroDebian:14 |
before 1.3.2-5 | 1.3.2-5 |
shiroDebian:8 |
before 1.2.3-1+deb8u1, plus listed versions 1.2.3-1 |
1.2.3-1+deb8u1 |
shiroDebian:9 |
before 1.3.2-1+deb9u1, plus listed versions 1.3.2-1 |
1.3.2-1+deb9u1 |
org.apache.shiro:shiro-coreMaven |
before 1.5.2, plus listed versions 1.0.0-incubating1.1.01.2.01.2.11.2.2 Show 13 moreShow less1.2.31.2.41.2.51.2.61.3.01.3.11.3.21.4.01.4.0-RC21.4.11.4.21.5.01.5.1 |
1.5.2 |
shiroUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.2.4-11.2.4-1ubuntu0.1~esm11.2.4-1ubuntu0.1~esm2 |
None known |
shiroUbuntu:18.04:LTS |
before 1.3.2-3~18.04.1, plus listed versions 1.3.2-21.3.2-3~18.04 |
1.3.2-3~18.04.1 |
shiroUbuntu:20.04:LTS |
before 1.3.2-4ubuntu0.1, plus listed versions 1.3.2-4 |
1.3.2-4ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-1957 is a critical vulnerability (CVSS 9.8) in Apache Shiro, published March 25, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 23.3%, the 97th percentile. Fixed in org.apache.shiro:shiro-core 1.5.2.
References
lists.apache.org/thread.html/r17f371fc89d34df2d0c8131473fbc68154290e1be238895648f5a1e6%40%3Cdev.shiro.apache.org%3E
lists.apache.org/thread.html/rc64fb2336683feff3580c3c3a8b28e80525077621089641f2f386b63%40%3Ccommits.camel.apache.org%3E
lists.apache.org/thread.html/rb3982edf8bc8fcaa7a308e25a12d294fb4aac1f1e9d4e14fda639e77%40%3Cdev.geode.apache.org%3E
lists.debian.org/debian-lts-announce/2020/04/msg00014.html
lists.apache.org/thread.html/rc8b39ea8b3ef71ddc1cd74ffc866546182683c8adecf19c263fe7ac0%40%3Ccommits.shiro.apache.org%3E
lists.apache.org/thread.html/r2d2612c034ab21a3a19d2132d47d3e4aa70105008dd58af62b653040%40%3Ccommits.shiro.apache.org%3E
Show 16 moreShow less
lists.apache.org/thread.html/rab1972d6b177f7b5c3dde9cfb0a40f03bca75f0eaf1d8311e5762cb3%40%3Ccommits.shiro.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2020-1957
lists.apache.org/thread.html/r2d2612c034ab21a3a19d2132d47d3e4aa70105008dd58af62b653040@%3Ccommits.shiro.apache.org%3E
lists.apache.org/thread.html/rab1972d6b177f7b5c3dde9cfb0a40f03bca75f0eaf1d8311e5762cb3@%3Ccommits.shiro.apache.org%3E
lists.apache.org/thread.html/rb3982edf8bc8fcaa7a308e25a12d294fb4aac1f1e9d4e14fda639e77@%3Cdev.geode.apache.org%3E
lists.apache.org/thread.html/rc64fb2336683feff3580c3c3a8b28e80525077621089641f2f386b63@%3Ccommits.camel.apache.org%3E
lists.apache.org/thread.html/rc8b39ea8b3ef71ddc1cd74ffc866546182683c8adecf19c263fe7ac0@%3Ccommits.shiro.apache.org%3E
github.com/advisories/GHSA-26gr-cvq3-qxgf
security-tracker.debian.org/tracker/CVE-2020-1957
github.com/apache/shiro
ubuntu.com/security/CVE-2020-1957
openwall.com/lists/oss-security/2020/03/23/2
github.com/apache/shiro/pull/203
ubuntu.com/security/notices/USN-4740-1
cve.org/CVERecord?id=CVE-2020-1957
ubuntu.com/security/CVE-2020-11989