Auth bypass in Jwt-Go Project
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.022, 82.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- mlbrilliance/aurora-demo-lockfile (last pushed 2026-05-11): AURORA demo target — deliberately vulnerable lockfiles (CVE-2019-10744, CVE-2018-18074, CVE-2020-26160)
Also mentioned in 15 other repositories (andoriyaprashant/renovate-antrea-demo, ARPSyndicate/cvemon, chair6/test-go-container-images, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/dgrijalva/jwt-go/pull/426 (Patch, Third Party Advisory)
- snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515 (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.