CVE-2020-26160: jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with []stri
CVE-2020-26160 is a high-severity flaw (CVSS 7.5) affecting jwt-go. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with []string{} for m["aud"] (which is allowed by the specification). Because the type assertion fails, "" is the value of aud. This is a security problem if the JWT token is presented to a service that lacks its own audience check.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
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
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-2020-26160?
jwt-go: upgrade to newer than 3.2.0. Exact commands for each OS are on this page.
Is CVE-2020-26160 being exploited?
CVE-2020-26160 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-2020-26160 affect?
CVE-2020-26160 affects jwt-go. Severity is high (CVSS 7.5). jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with []string{} for m["aud"] (which is allowed by the specification). Because the type assertion fails, "" is the value of aud. This is a sec
How urgent is CVE-2020-26160?
Priority 52/100. High severity; Remotely exploitable, no login, no user action