CVE-2020-26892Linuxfoundation Nats-server
Critical 9.8 No auth needed
Follow: this CVE · Linuxfoundation · Linuxfoundation Nats-server We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Nov 6, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-798
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.
What to do
- Apply the vendor's security update for Nats-server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/nats-io/jwt |
< 1.1.0 |
1.1.0 |
go get github.com/nats-io/jwt@v1.1.0 |
| Go | github.com/nats-io/jwt |
< 1.1.0 |
1.1.0 |
go get github.com/nats-io/jwt@v1.1.0 |
| Go | github.com/nats-io/nats-server/v2 |
< 2.1.9 |
2.1.9 |
go get github.com/nats-io/nats-server/v2@v2.1.9 |
Per OSV / GitHub Advisories (GHSA-4w5x-x539-ppf5, GO-2022-0380, GHSA-2c64-vj8g-vwrq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | nats-server | < 2.1.9 |
| fedoraproject | fedora | 33 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- lists.fedoraproject.org
- www.openwall.com Mailing List Third Party Advisory