Every CVE Search/ Get API key

CVE-2020-1957

Improper Authentication in Apache Shiro

9.8 CriticalFix available

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

23.3%Up 4.8 points since Apr 14, 2021
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
org.apache.shiro:shiro-core
Maven
before 1.5.2
1.5.2
shiro
Debian:12
before 1.3.2-5
1.3.2-5
shiro
Debian:13
before 1.3.2-5
1.3.2-5
shiro
Debian:14
before 1.3.2-5
1.3.2-5
shiro
Debian:8
before 1.2.3-1+deb8u1, plus listed versions
1.2.3-1
1.2.3-1+deb8u1
shiro
Debian:9
before 1.3.2-1+deb9u1, plus listed versions
1.3.2-1
1.3.2-1+deb9u1
org.apache.shiro:shiro-core
Maven
before 1.5.2, plus listed versions
1.0.0-incubating1.1.01.2.01.2.11.2.2
Show 13 moreShow less
1.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
shiro
Ubuntu: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
shiro
Ubuntu: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
shiro
Ubuntu:20.04:LTS
before 1.3.2-4ubuntu0.1, plus listed versions
1.3.2-4
1.3.2-4ubuntu0.1

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE 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

Show 16 moreShow less
MoveEnter Open