{"id":"GHSA-4w5x-x539-ppf5","revision":null,"records":[{"revision":"9a1ddb3dda5f4edaaf0cc7a8b3f94eeb","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2020-26892","aliases":[],"title":"The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.","description":"The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.","state":0,"publishedAt":"2020-11-06T07:36:45+00:00","modifiedAt":"2024-08-04T16:03:22.745+00:00","affected":[{"ecosystem":"Vendor product","name":"n/a","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"n/a\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"n/a\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://github.com/nats-io/nats-server/commits/master","https://www.openwall.com/lists/oss-security/2020/11/02/2","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2020-26892","license":"CVE Program Terms of Use","key":"cve-program:CVE-2020-26892","identifiers":["CVE-2020-26892"]},"retained":false,"historicalAffected":[]},{"revision":"3486496f1a8141b19afd90129bad439b","observedAt":"2026-11-18T06:31:41.183+00:00","statement":{"source":"euvd","id":"EUVD-2022-0821","aliases":["CVE-2020-26892","GHSA-4w5x-x539-ppf5"],"title":"The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.","description":"The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://github.com/nats-io/nats-server/commits/master","https://www.openwall.com/lists/oss-security/2020/11/02/2","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI/"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-0821","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 6, 2020, 7:36:45 AM","dateUpdated":"Aug 4, 2024, 4:03:22 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-0821","identifiers":["EUVD-2022-0821","CVE-2020-26892","GHSA-4w5x-x539-ppf5"]},"retained":false,"historicalAffected":[]},{"revision":"b7ffecb4518e4cb1b8ce3b75c9c52993","observedAt":"2026-10-24T16:17:32.505+00:00","statement":{"source":"nvd","id":"CVE-2020-26892","aliases":[],"title":"The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.","description":"The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.","state":0,"publishedAt":"2020-11-06T08:15:13.61+00:00","modifiedAt":"2026-06-17T03:08:28.643+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"severity":"HIGH"}],"references":["https://github.com/nats-io/nats-server/commits/master","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI/","https://www.openwall.com/lists/oss-security/2020/11/02/2"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-26892","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-798"],"productCriteria":["cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"],"sourceDates":{"published":"2020-11-06T08:15:13.610","lastModified":"2026-06-17T03:08:28.643"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2020-26892","identifiers":["CVE-2020-26892"]},"retained":false,"historicalAffected":[]},{"revision":"cb3723c27ca64d84ac1c5153e2649df9","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-2c64-vj8g-vwrq","aliases":["CVE-2020-26892","GHSA-4w5x-x539-ppf5","GO-2022-0380"],"title":"Incorrect handling of credential expiry by /nats-io/nats-server","description":"(This advisory is canonically https://advisories.nats.io/CVE/CVE-2020-26892.txt )\n\n## Problem Description\n\nNATS nats-server through 2020-10-07 has Incorrect Access Control because of how expired credentials are handled.\n\nThe 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.\n\nA 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.\n\nThe CVE identifier should cover any application using the old JWT API, where the nats-server is one of those applications.\n\n\n## Affected versions\n\n#### JWT library\n\n * all versions prior to 1.1.0\n * fixed after nats-io/jwt PR 103 landed (2020-10-06)\n\n#### NATS Server\n\n * Version 2 prior to 2.1.9\n   + 2.0.0 through and including 2.1.8 are vulnerable.\n * fixed with nats-io/nats-server PRs 1632, 1635, 1645\n\n\n## Impact\n\nTime-based credential expiry did not work.\n\n\n## Workaround\n\nHave credentials which only expire after fixes can be deployed.\n\n\n## Solution\n\nUpgrade the JWT dependency in any application using it.\n\nUpgrade the NATS server if using NATS Accounts.","state":0,"publishedAt":"2021-05-21T16:11:49+00:00","modifiedAt":"2026-09-10T03:49:04.0523507+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.1.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-2c64-vj8g-vwrq","https://github.com/nats-io/jwt/commit/e11ce317263cef69619fc1ca743b195d02aa1d8a","https://advisories.nats.io/CVE/CVE-2020-26892.txt","https://github.com/nats-io/nats-server"],"sourceUrl":"https://github.com/advisories/GHSA-2c64-vj8g-vwrq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2c64-vj8g-vwrq","identifiers":["GHSA-2c64-vj8g-vwrq","CVE-2020-26892","GHSA-4w5x-x539-ppf5","GO-2022-0380"]},"retained":false,"historicalAffected":[]},{"revision":"02a5b5b5671847329e829436a64c38c3","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-4w5x-x539-ppf5","aliases":["CVE-2020-26892","GHSA-2c64-vj8g-vwrq","GO-2022-0380"],"title":"Incorrect handling of credential expiry by /nats-io/nats-server","description":"## Problem Description\n\nNATS nats-server through 2020-10-07 has Incorrect Access Control because of how expired credentials are handled.\n\nThe 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.\n\nA 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.\n\nThe CVE identifier should cover any application using the old JWT API, where the nats-server is one of those applications.\n\n\n## Affected versions\n\n#### JWT library\n\n * all versions prior to 1.1.0\n * fixed after nats-io/jwt PR 103 landed (2020-10-06)\n\n#### NATS Server\n\n * Version 2 prior to 2.1.9\n   + 2.0.0 through and including 2.1.8 are vulnerable.\n * fixed with nats-io/nats-server PRs 1632, 1635, 1645\n\n\n## Impact\n\nTime-based credential expiry did not work.\n\n\n## Workaround\n\nHave credentials which only expire after fixes can be deployed.\n\n\n## Solution\n\nUpgrade the JWT dependency in any application using it.\n\nUpgrade the NATS server if using NATS Accounts.","state":0,"publishedAt":"2022-02-11T23:42:20+00:00","modifiedAt":"2026-09-10T03:49:11.5465395+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/jwt","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/nats-io/jwt/security/advisories/GHSA-4w5x-x539-ppf5","https://nvd.nist.gov/vuln/detail/CVE-2020-26892","https://github.com/nats-io/jwt/commit/e11ce317263cef69619fc1ca743b195d02aa1d8a","https://github.com/nats-io/nats-server/commit/1e08b67f08e18cd844dce833a265aaa72500a12f","https://advisories.nats.io/CVE/CVE-2020-26892.txt","https://github.com/nats-io/jwt","https://github.com/nats-io/nats-server/commits/master","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI","https://pkg.go.dev/vuln/GO-2022-0380","https://www.openwall.com/lists/oss-security/2020/11/02/2"],"sourceUrl":"https://github.com/advisories/GHSA-4w5x-x539-ppf5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4w5x-x539-ppf5","identifiers":["GHSA-4w5x-x539-ppf5","CVE-2020-26892","GHSA-2c64-vj8g-vwrq","GO-2022-0380"]},"retained":false,"historicalAffected":[]},{"revision":"1f74781407234b7db72f3114877623d2","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0380","aliases":["CVE-2020-26892","GHSA-2c64-vj8g-vwrq","GHSA-4w5x-x539-ppf5"],"title":"Incorrect handling of credential expiry in github.com/nats-io/jwt","description":"The AccountClaims.IsRevoked and Export.IsRevoked functions improperly validate expired credentials using the current system time rather than the issue time of the JWT to be tested.\n\nThese functions cannot be used properly. Newer versions of the jwt package provide an IsClaimRevoked method which performs correct validation. In these versions, the IsRevoked method always return true.","state":0,"publishedAt":"2022-07-15T23:29:36+00:00","modifiedAt":"2026-02-04T04:14:02.578523+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/jwt","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://advisories.nats.io/CVE/CVE-2020-26892.txt","https://github.com/nats-io/jwt/commit/e11ce317263cef69619fc1ca743b195d02aa1d8a"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0380","license":"OSV · upstream source license applies","key":"osv:GO-2022-0380","identifiers":["GO-2022-0380","CVE-2020-26892","GHSA-2c64-vj8g-vwrq","GHSA-4w5x-x539-ppf5"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T05:22:48.4383343+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T05:22:48.4383343+00:00","lastSuccessAt":"2026-11-19T05:22:48.5819004+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.581904+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-a3c5d1f50b99987b637138fdc7cd9e1e0d772b1c81dbbff4bcc8be865c192a98","complete":true,"records":428232,"lastAttemptAt":"2026-11-19T05:22:47.9486287+00:00","lastSuccessAt":"2026-11-19T05:22:47.9265788+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:47.9486287+00:00","snapshotPublishedAt":"2026-11-19T04:33:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-7c1103063ba0426d8e585240e558964c","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T05:32:28.4240909+00:00","lastSuccessAt":"2026-11-19T05:32:27.403+00:00","error":"218 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T05:32:27.403+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13568,"expectedIdentifiers":13908,"failedIdentifiers":218},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T05:22:48.4383343+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T05:22:48.4383343+00:00","lastSuccessAt":"2026-11-19T05:22:48.5827402+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.5827403+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-84b4b212d7ef41cb9ec24b71e9d8e5d8","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T05:22:49.1394496+00:00","lastSuccessAt":"2026-11-19T04:24:39.391+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:39.391+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T05:22:48.2819697+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.2819697+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T05:22:48.0028407+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.0028407+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-c0d9c71c6fa06d617f979e7bec0d97aca70ca5aea1558184002f8e44516f2fac","complete":true,"records":3177,"lastAttemptAt":"2026-11-19T05:22:48.391557+00:00","lastSuccessAt":"2026-11-18T21:25:09.5127964+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.391557+00:00","snapshotPublishedAt":"2026-11-18T21:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-2556fa291ec863b7fd77332e55dcff5569878e06b48ea32c182e52878cdd1ce8","complete":true,"records":232702,"lastAttemptAt":"2026-11-19T05:22:48.1723185+00:00","lastSuccessAt":"2026-11-19T04:24:35.8955272+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.1723185+00:00","snapshotPublishedAt":"2026-11-19T03:33:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}