{"id":"GO-2020-0017","revision":"190cc28729db42c189c0940f2bb12e68","records":[{"revision":"190cc28729db42c189c0940f2bb12e68","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2020-0017","aliases":["CVE-2020-26160","GHSA-w73w-5m7g-f7qc","SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515"],"title":"Authorization bypass in github.com/dgrijalva/jwt-go","description":"If a JWT contains an audience claim with an array of strings, rather than a single string, and MapClaims.VerifyAudience is called with req set to false, then audience verification will be bypassed, allowing an invalid set of audiences to be provided.","state":0,"publishedAt":"2021-04-14T20:04:52+00:00","modifiedAt":"2026-07-08T06:49:40.5268195+00:00","affected":[{"ecosystem":"Go","name":"github.com/dgrijalva/jwt-go","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-20150717181359-44718f8a89b0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/dgrijalva/jwt-go/v4","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.0.0-preview1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/dgrijalva/jwt-go/commit/ec0a89a131e3e8567adcb21254a5cd20a70ea4ab","https://github.com/dgrijalva/jwt-go/issues/422"],"sourceUrl":"https://osv.dev/vulnerability/GO-2020-0017","license":"OSV · upstream source license applies","key":"osv:GO-2020-0017","identifiers":["GO-2020-0017","CVE-2020-26160","GHSA-w73w-5m7g-f7qc","SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515"]},"retained":false,"historicalAffected":[]}],"coverage":[]}