jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with…
Historical advisory recorded 24 Oct 2026 16:17:32 UTC. Read the latest advisory.
nvd · CVE-2020-26160
Publishedjwt-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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2020-26160
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-287 · CWE-755
Original publisher date fields
published: 2020-09-30T18:15:27.397
lastModified: 2026-06-17T03:07:43.907
1 source CPE criteria · context only
- cpe:2.3:a:jwt-go_project:jwt-go:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON