{"id":"GHSA-9983-vrx2-fg9c","revision":"5e21c29100204edb81d17ef3cd451cdc","records":[{"revision":"5e21c29100204edb81d17ef3cd451cdc","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-9983-vrx2-fg9c","aliases":["BIT-nats-2026-33222","CVE-2026-33222","GO-2026-4832"],"title":"NATS JetStream has an authorization bypass through its Management API","description":"### Background\n\nNATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing.\n\nThe persistent storage feature, JetStream, has a management API which has many features, amongst which are backup and restore.\n\n### Problem Description\n\nUsers with JetStream admin API access to restore one stream could restore to other stream names, impacting data which should have been protected against them.\n\n### Affected Versions\n\nAny version before v2.12.6 or v2.11.15\n\n### Workarounds\n\nIf developers have configured users to have limited JetStream restore permissions, temporarily remove those permissions.","state":0,"publishedAt":"2026-03-24T21:49:34+00:00","modifiedAt":"2026-09-10T03:51:00.1418346+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.11.15"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.12.0-RC.1"},{"kind":"fixed","version":"2.12.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/nats-io/nats-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-9983-vrx2-fg9c","https://nvd.nist.gov/vuln/detail/CVE-2026-33222","https://advisories.nats.io/CVE/secnote-2026-12.txt","https://github.com/nats-io/nats-server"],"sourceUrl":"https://github.com/advisories/GHSA-9983-vrx2-fg9c","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9983-vrx2-fg9c","identifiers":["GHSA-9983-vrx2-fg9c","BIT-nats-2026-33222","CVE-2026-33222","GO-2026-4832"]},"retained":false,"historicalAffected":[]}],"coverage":[]}