{"id":"GO-2022-0402","revision":"5e4b4ca729b84298b0b2acf525bf9603","records":[{"revision":"5e4b4ca729b84298b0b2acf525bf9603","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0402","aliases":["CVE-2020-26521","GHSA-h2fg-54x9-5qhq","GHSA-hmm9-r2m2-qg9w"],"title":"Panic in NATS JWT decoding in github.com/nats-io/jwt","description":"A malicious account can create and sign a User JWT which causes a panic when decoded by the NATS JWT library.","state":0,"publishedAt":"2022-07-01T20:10:43+00:00","modifiedAt":"2026-02-04T03:01:19.864397+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://github.com/nats-io/jwt/pull/107","https://advisories.nats.io/CVE/CVE-2020-26521.txt"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0402","license":"OSV · upstream source license applies","key":"osv:GO-2022-0402","identifiers":["GO-2022-0402","CVE-2020-26521","GHSA-h2fg-54x9-5qhq","GHSA-hmm9-r2m2-qg9w"]},"retained":false,"historicalAffected":[]}],"coverage":[]}