{"schema_version":"1.7.5","id":"GHSA-9983-vrx2-fg9c","published":"2026-03-24T21:49:34Z","modified":"2026-03-27T22:16:20.324543Z","aliases":["BIT-nats-2026-33222","CVE-2026-33222","GO-2026-4832"],"related":["CGA-jmv6-q4fp-447v"],"summary":"NATS JetStream has an authorization bypass through its Management API","details":"### 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.","affected":[{"package":{"name":"github.com/nats-io/nats-server/v2","ecosystem":"Go","purl":"pkg:golang/github.com/nats-io/nats-server/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.11.15"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-9983-vrx2-fg9c/GHSA-9983-vrx2-fg9c.json"}},{"package":{"name":"github.com/nats-io/nats-server/v2","ecosystem":"Go","purl":"pkg:golang/github.com/nats-io/nats-server/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.12.0-RC.1"},{"fixed":"2.12.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-9983-vrx2-fg9c/GHSA-9983-vrx2-fg9c.json"}},{"package":{"name":"github.com/nats-io/nats-server","ecosystem":"Go","purl":"pkg:golang/github.com/nats-io/nats-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-9983-vrx2-fg9c/GHSA-9983-vrx2-fg9c.json"}}],"references":[{"type":"WEB","url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-9983-vrx2-fg9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33222"},{"type":"WEB","url":"https://advisories.nats.io/CVE/secnote-2026-12.txt"},{"type":"PACKAGE","url":"https://github.com/nats-io/nats-server"}],"database_specific":{"cwe_ids":["CWE-285"],"github_reviewed":true,"github_reviewed_at":"2026-03-24T21:49:34Z","nvd_published_at":"2026-03-25T21:16:47Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"}]}