Home / Jwt-go Project / Jwt-go / CVE-2020-26160
CVE-2020-26160: is it exploited, and which versions of Jwt-go Project Jwt-go are affected and fixed?
CVE-2020-26160 is an authentication bypass (improper authentication) vulnerability in Jwt-go Project Jwt-go. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: github.com/dgrijalva/jwt-go through 3.2.0 and github.com/dgrijalva/jwt-go/v4 before 4.0.0-preview1 (GitHub advisory GHSA-w73w-5m7g-f7qc). Fixed in 4.0.0-preview1 (GitHub advisory GHSA-w73w-5m7g-f7qc). Severity: High (7.5, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:07 UTC.
What is CVE-2020-26160?
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.
From the CVE record by mitre, last updated August 4, 2024, 15:49 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/dgrijalva/jwt-go | >= 0.0.0-20150717181359-44718f8a89b0, <= 3.2.0 | none listed | GHSA-w73w-5m7g-f7qc |
| Go | github.com/dgrijalva/jwt-go/v4 | < 4.0.0-preview1 | 4.0.0-preview1 | GHSA-w73w-5m7g-f7qc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 20, 2024. Summary: Authorization bypass in github.com/dgrijalva/jwt-go.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| jwt-go project | jwt-go | through 3.2.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:07 UTC.
How severe is CVE-2020-26160?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:N/S:U/UI:N | mitre |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-26160 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.16% probability of exploitation activity in the next 30 days, percentile 82.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/dgrijalva/jwt-go/pull/426 x_refsource_MISC
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 30, 2020
- Published
- September 30, 2020, 12:57 UTC
- CVE record updated
- August 4, 2024, 15:49 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 03:07 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:07 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2020-26160
Is CVE-2020-26160 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 2.16% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Jwt-go Project Jwt-go are affected by CVE-2020-26160?
github.com/dgrijalva/jwt-go through 3.2.0 and github.com/dgrijalva/jwt-go/v4 before 4.0.0-preview1, per the GitHub advisory GHSA-w73w-5m7g-f7qc. The tables above give every range the sources list.
Which version fixes CVE-2020-26160?
4.0.0-preview1, per the GitHub advisory GHSA-w73w-5m7g-f7qc. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-26160?
High (7.5, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2020-26160?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.