Live threats

All CVEs / Linuxfoundation

CVE-2020-26892Linuxfoundation Nats-server

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nats-server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
linuxfoundationnats-server< 2.1.9
fedoraprojectfedora33

Official sources

References

Links published by the sources. Open them with care.