NATS JetStream has an authorization bypass through its Management API
Published 24 Mar 2026 · Updated 10 Sept 2026
Is your project on an affected github.com/nats-io/nats-server/v2?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <2.11.15
- Fixed in
- 2.11.15
go get github.com/nats-io/nats-server/v2@v2.11.15- Affected
- >=2.12.0-RC.1 <2.12.6
- Fixed in
- 2.12.6
go get github.com/nats-io/nats-server/v2@v2.12.6- Affected
- All versions
- Fixed in
- No fix released
Details
Background
NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing.
The persistent storage feature, JetStream, has a management API which has many features, amongst which are backup and restore.
Problem Description
Users with JetStream admin API access to restore one stream could restore to other stream names, impacting data which should have been protected against them.
Affected Versions
Any version before v2.12.6 or v2.11.15
Workarounds
If developers have configured users to have limited JetStream restore permissions, temporarily remove those permissions.
Is GHSA-9983-vrx2-fg9c in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/nats-io/nats-server/v2, and gives you the command that fixes it.
More advisories for github.com/nats-io/nats-server/v2
- LowCVE-2026-29785NATS Server panic via malicious compression on leafnode port in github.com/nats-io/nats-server · 26 Mar 2026
- LowCVE-2026-33246NATS: Leafnode connections allow spoofing of Nats-Request-Info identity headers in github.com/nats-io/nats-server · 26 Mar 2026
- LowCVE-2026-33219NATS is vulnerable to pre-auth DoS through WebSockets client service in github.com/nats-io/nats-server · 26 Mar 2026
- LowCVE-2026-33215NATS is vulnerable to MQTT hijacking via Client ID in github.com/nats-io/nats-server · 26 Mar 2026
- LowCVE-2026-33217NATS allows MQTT clients to bypass ACL checks in github.com/nats-io/nats-server · 26 Mar 2026
- LowCVE-2026-33223NATS Server: Incomplete Stripping of Nats-Request-Info Header Allows Identity Spoofing in github.com/nats-io/nats-server · 26 Mar 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.