{"id":"CVE-2020-26160","published":"2020-09-30T12:57:10Z","modified":"2024-08-04T15:49:07Z","title":"jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with []string{} for…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:N/S:U/UI:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02158,"percentile":0.82629,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/dgrijalva/jwt-go/pull/426","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515","tags":["x_refsource_MISC"]}],"priority":{"score":26.8,"factors":[{"name":"EPSS percentile","points":16.53},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-11","earliestUrl":"https://github.com/mlbrilliance/aurora-demo-lockfile","repos":[{"name":"mlbrilliance/aurora-demo-lockfile","url":"https://github.com/mlbrilliance/aurora-demo-lockfile","stars":0,"created":"2026-05-11"}]},"first":{"date":"2026-05-11","source":"PoC-in-GitHub","url":"https://github.com/mlbrilliance/aurora-demo-lockfile"},"provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/dgrijalva/jwt-go","vulnerableRanges":[">=0.0.0-20150717181359-44718f8a89b0, <=3.2.0",">=0.0.0-20150717181359-44718f8a89b0"],"patched":[],"from":["GHSA-w73w-5m7g-f7qc","GO-2020-0017"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/dgrijalva/jwt-go/v4","vulnerableRanges":["<4.0.0-preview1"],"patched":["4.0.0-preview1"],"from":["GHSA-w73w-5m7g-f7qc","GO-2020-0017"],"provenance":"source"}],"summary":{"text":"The jwt-go library before 4.0.0-preview1 contains a flaw in its audience handling: when the JWT \"aud\" claim is an empty string array ([]string{}), a failed type assertion causes the claim value to be treated as \"\". An attacker who can present such a token to a service that performs no audience check of its own can bypass intended access restrictions, with no authentication, user interaction or special configuration required beyond that lack of a secondary audience check.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:59:04Z"},"euvd":{"id":"EUVD-2021-1212","exploited":false,"provenance":"source"}}