Loading advisory.
Loading advisory.
Incorrect handling of credential expiry by /nats-io/nats-server
NATS nats-server through 2020-10-07 has Incorrect Access Control because of how expired credentials are handled.
Published 2020-11-06 07:36 UTC · Modified 2026-09-10 03:49 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/nats-io/nats-server/v2 | Go | < 2.1.9 | 2.1.9 | go get github.com/nats-io/nats-server/v2@v2.1.9 |
| github.com/nats-io/jwt | Go | < 1.1.0 | 1.1.0 | go get github.com/nats-io/jwt@v1.1.0 |
NATS nats-server through 2020-10-07 has Incorrect Access Control because of how expired credentials are handled.
The NATS accounts system has expiration timestamps on credentials; the https://github.com/nats-io/jwt library had an API which encouraged misuse and an IsRevoked() method which misused its own API.
A new IsClaimRevoked() method has correct handling and the nats-server has been updated to use this. The old IsRevoked() method now always returns true and other client code will have to be updated to avoid calling it.
The CVE identifier should cover any application using the old JWT API, where the nats-server is one of those applications.
all versions prior to 1.1.0
fixed after nats-io/jwt PR 103 landed (2020-10-06)
Version 2 prior to 2.1.9
2.0.0 through and including 2.1.8 are vulnerable.
fixed with nats-io/nats-server PRs 1632, 1635, 1645
Time-based credential expiry did not work.
Have credentials which only expire after fixes can be deployed.
Upgrade the JWT dependency in any application using it.
Upgrade the NATS server if using NATS Accounts.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.023 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.023 | first score | v2026.06.15 |