cve.bz

CVE-2020-26160

7.5 highEPSS 2.2%

High (7.5) in jwt-go project jwt-go. EPSS 2.2% chance of exploitation in the next 30 days. Fixed in github.com/dgrijalva/jwt-go/v4 4.0.0-preview1.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.2% chance of exploitation in the next 30 days; higher than 82% of CVEs (scores of 2026-10-31)
CWEs
CWE-287, CWE-755
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w73w-5m7g-f7qcGogithub.com/dgrijalva/jwt-go>=0.0.0-20150717181359-44718f8a89b0 <=3.2.0no fix published
GHSA-w73w-5m7g-f7qcGogithub.com/dgrijalva/jwt-go/v4<4.0.0-preview14.0.0-preview1
GO-2020-0017Gogithub.com/dgrijalva/jwt-go>=0.0.0-20150717181359-44718f8a89b0no fix published
GO-2020-0017Gogithub.com/dgrijalva/jwt-go/v4<4.0.0-preview14.0.0-preview1

References

Check your stackJSON