CVE-2020-26160

HIGH

Jwt-go < 3.2.0 - Improper Exception Handling

Title source: rule

Description

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.

Scores

CVSS v3 7.5
EPSS 0.0005
EPSS Percentile 15.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE
CWE-755 CWE-287
Status published

Affected Products (3)

jwt-go_project/jwt-go < 3.2.0
dgrijalva/jwt-go Go
dgrijalva/jwt-go < 4.0.0-preview1Go

Timeline

Published Sep 30, 2020
Tracked Since Feb 18, 2026