CVE-2021-37580: A flaw was found in Apache ShenYu Admin
CVE-2021-37580 is a critical-severity flaw (CVSS 9.8) affecting shenyu. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A flaw was found in Apache ShenYu Admin. The incorrect use of JWT in ShenyuAdminBootstrap allows an attacker to bypass authentication. This issue affected Apache ShenYu 2.3.0 and 2.4.0
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 42.1% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-287 |
| Published | 2021-11-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: fengwenhua/CVE-2021-37580 (38 stars)
- GitHub PoC: Liang2580/CVE-2021-37580 (7 stars)
- GitHub PoC: ZororoZ/CVE-2021-37580 (5 stars)
- GitHub PoC: CN016/Apache-ShenYu-Admin-JWT-CVE-2021-37580-
- Nuclei scan template: Apache ShenYu Admin JWT - Authentication Bypass
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-37580?
shenyu: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-37580 being exploited?
CVE-2021-37580 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-37580 affect?
CVE-2021-37580 affects shenyu. Severity is critical (CVSS 9.8). A flaw was found in Apache ShenYu Admin. The incorrect use of JWT in ShenyuAdminBootstrap allows an attacker to bypass authentication. This issue affected Apache ShenYu 2.3.0 and 2.4.0
How urgent is CVE-2021-37580?
Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
- CVE-2023-25753 MEDIUM 6.5 DOWNGRADE There exists an SSRF (Server-Side Request Forgery) vulnerability located at the /sandbox/proxyGateway endpoin
- CVE-2022-42735 HIGH 8.8 DOWNGRADE Improper Privilege Management vulnerability in Apache Software Foundation Apache ShenYu. ShenYu Admin allows
- CVE-2022-37435 HIGH 8.8 DOWNGRADE Apache ShenYu Admin has insecure permissions, which may allow low-privilege administrators to modify high-priv
- CVE-2022-26650 HIGH 7.5 DOWNGRADE In Apache ShenYui, ShenYu-Bootstrap, RegexPredicateJudge.java uses Pattern.matches(conditionData.getParamValue
- CVE-2022-23945 HIGH 7.5 DOWNGRADE Missing authentication on ShenYu Admin when register by HTTP