golang-github-coreos-discovery-etcd-io, golang-github-dgrijalva-jwt-go — security advisory
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.
- Products
- golang-github-coreos-discovery-etcd-io, golang-github-dgrijalva-jwt-go
- Affected versions
- 2.0.0+git2019.04.19.git.78fb45d3c9-1, 2.0.0+git2019.04.19.git.78fb45d3c9-4, 2.0.0+git2019.04.19.git.78fb45d3c9-4build1, 2.0.0+git2019.04.19.git.78fb45d3c9-4build2, 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.1, 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.2, 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.3, 2.3.0-1, 3.0.0.1+REALLY.2.6.0-1, 3.0.0.1+REALLY.2.6.0-2, 3.0.0.1+REALLY.2.6.0-3, 3.2.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2020-26160
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:34 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2020-26160
golang-github-dgrijalva-jwt-go
Fixed versions: Not specified
golang-github-dgrijalva-jwt-go
Fixed versions: Not specified
golang-github-coreos-discovery-etcd-io
Fixed versions: Not specified
golang-github-dgrijalva-jwt-go
Fixed versions: Not specified
golang-github-coreos-discovery-etcd-io
Fixed versions: Not specified
golang-github-coreos-discovery-etcd-io
Fixed versions: Not specified
golang-github-coreos-discovery-etcd-io
Fixed versions: Not specified
golang-github-coreos-discovery-etcd-io
Fixed versions: Not specified
golang-github-coreos-discovery-etcd-io
Fixed versions: Not specified
Complete source record
{
"id": "d59a35151642132565e8910790733248b7503a37c5a71055ea641eeab48bc788",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-26160",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2020-26160",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2020-26160",
"products": [
{
"name": {
"value": "golang-github-dgrijalva-jwt-go",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "golang-github-dgrijalva-jwt-go",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.0.1+REALLY.2.6.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.0.1+REALLY.2.6.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.0.1+REALLY.2.6.0-3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-github-coreos-discovery-etcd-io",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.0+git2019.04.19.git.78fb45d3c9-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "golang-github-dgrijalva-jwt-go",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.0.1+REALLY.2.6.0-3",
"evidence": "/affected/3/versions"
},
{
"value": "3.2.0-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "golang-github-coreos-discovery-etcd-io",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.0+git2019.04.19.git.78fb45d3c9-4",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "golang-github-coreos-discovery-etcd-io",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.0+git2019.04.19.git.78fb45d3c9-4build1",
"evidence": "/affected/5/versions"
},
{
"value": "2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.1",
"evidence": "/affected/5/versions"
},
{
"value": "2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.2",
"evidence": "/affected/5/versions"
},
{
"value": "2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.3",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "golang-github-coreos-discovery-etcd-io",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.0+git2019.04.19.git.78fb45d3c9-4build1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "golang-github-coreos-discovery-etcd-io",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.0+git2019.04.19.git.78fb45d3c9-4build2",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "golang-github-coreos-discovery-etcd-io",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.0+git2019.04.19.git.78fb45d3c9-4build1",
"evidence": "/affected/8/versions"
},
{
"value": "2.0.0+git2019.04.19.git.78fb45d3c9-4build2",
"evidence": "/affected/8/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2020-26160",
"aliases": [
"UBUNTU-CVE-2020-26160"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-dgrijalva-jwt-go",
"purl": "pkg:deb/ubuntu/golang-github-dgrijalva-jwt-go?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.3.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-26160.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-dgrijalva-jwt-go-dev",
"binary_version": "2.3.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-dgrijalva-jwt-go",
"purl": "pkg:deb/ubuntu/golang-github-dgrijalva-jwt-go?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"3.0.0.1+REALLY.2.6.0-1",
"3.0.0.1+REALLY.2.6.0-2",
"3.0.0.1+REALLY.2.6.0-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-26160.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-dgrijalva-jwt-go-dev",
"binary_version": "3.0.0.1+REALLY.2.6.0-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-coreos-discovery-etcd-io",
"purl": "pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.0.0+git2019.04.19.git.78fb45d3c9-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-26160.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "etcd-discovery",
"binary_version": "2.0.0+git2019.04.19.git.78fb45d3c9-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-dgrijalva-jwt-go",
"purl": "pkg:deb/ubuntu/golang-github-dgrijalva-jwt-go?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"3.0.0.1+REALLY.2.6.0-3",
"3.2.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-26160.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-dgrijalva-jwt-go-dev",
"binary_version": "3.2.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-coreos-discovery-etcd-io",
"purl": "pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2.0.0+git2019.04.19.git.78fb45d3c9-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-26160.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "etcd-discovery",
"binary_version": "2.0.0+git2019.04.19.git.78fb45d3c9-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-coreos-discovery-etcd-io",
"purl": "pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.0.0+git2019.04.19.git.78fb45d3c9-4build1",
"2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.1",
"2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.2",
"2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-26160.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "etcd-discovery",
"binary_version": "2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-coreos-discovery-etcd-io",
"purl": "pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.0.0+git2019.04.19.git.78fb45d3c9-4build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-26160.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "etcd-discovery",
"binary_version": "2.0.0+git2019.04.19.git.78fb45d3c9-4build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-coreos-discovery-etcd-io",
"purl": "pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.0.0+git2019.04.19.git.78fb45d3c9-4build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-26160.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "etcd-discovery",
"binary_version": "2.0.0+git2019.04.19.git.78fb45d3c9-4build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-coreos-discovery-etcd-io",
"purl": "pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.0.0+git2019.04.19.git.78fb45d3c9-4build1",
"2.0.0+git2019.04.19.git.78fb45d3c9-4build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-26160.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "etcd-discovery",
"binary_version": "2.0.0+git2019.04.19.git.78fb45d3c9-4build2"
}
]
}
}
],
"modified": "2026-10-17T12:55:44.968796524Z",
"provider": "osv",
"upstream": [
"CVE-2020-26160"
],
"references": [
"https://ubuntu.com/security/CVE-2020-26160",
"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515",
"https://www.cve.org/CVERecord?id=CVE-2020-26160",
"https://github.com/golang-jwt/jwt/pull/12"
]
},
"related_cves": [
{
"value": "CVE-2020-26160",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354010,
"published_at": "2020-09-30T18:15:00+00:00"
}