# CVE-2020-26892: Incorrect handling of credential expiry by /nats-io/nats-server

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.33%, higher than 83% of CVEs (2026-12-01)
- Published: 2020-11-06T07:36:45.000Z
- Modified: 2026-09-10T03:49:11.546Z
- Also known as: GHSA-2c64-vj8g-vwrq, GHSA-4w5x-x539-ppf5, GO-2022-0380
- Related: CGA-6373-c5g9-cgvf
- Weaknesses: CWE-284, CWE-798
- Assigned by: mitre

## Description

The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/nats-io/nats-server/v2 (Go): before 2.1.9
- github.com/nats-io/jwt (Go): before 1.1.0
- linuxfoundation nats-server: before 2.1.9
- fedoraproject fedora: 33

## Every score

- GitHub: rating High
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/nats-io/nats-server/commits/master> (patch, third-party-advisory, web)
- <https://www.openwall.com/lists/oss-security/2020/11/02/2> (mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI/> (vendor-advisory)
- <https://github.com/nats-io/nats-server/security/advisories/GHSA-2c64-vj8g-vwrq> (web)
- <https://github.com/nats-io/jwt/commit/e11ce317263cef69619fc1ca743b195d02aa1d8a> (fix, web)
- <https://advisories.nats.io/CVE/CVE-2020-26892.txt> (advisory, web)
- <https://github.com/nats-io/nats-server> (package)
- <https://github.com/nats-io/jwt/security/advisories/GHSA-4w5x-x539-ppf5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26892> (advisory)
- <https://github.com/nats-io/nats-server/commit/1e08b67f08e18cd844dce833a265aaa72500a12f> (web)
- <https://github.com/nats-io/jwt> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI> (web)
- <https://pkg.go.dev/vuln/GO-2022-0380> (web)

## Sources

- CVE List: [CVE-2020-26892](https://www.cve.org/CVERecord?id=CVE-2020-26892), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-2c64-vj8g-vwrq](https://github.com/advisories/GHSA-2c64-vj8g-vwrq), CC-BY-4.0, modified 2026-09-10
- GitHub Advisory Database: [GHSA-4w5x-x539-ppf5](https://github.com/advisories/GHSA-4w5x-x539-ppf5), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0380](https://pkg.go.dev/vuln/GO-2022-0380), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2020-26892](https://nvd.nist.gov/vuln/detail/CVE-2020-26892), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26892 · Whole record: https://cve.day/CVE-2020-26892.json · Rebuilt by cve.day 2026-11-25T22:57:55.620Z
