Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/nats-io/nats-server
  4. ›
  5. CVE-2026-33222

CVE-2026-33222: NATS JetStream has an authorization bypass through its Management API

March 24, 2026 (updated March 27, 2026)

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.

References

  • advisories.nats.io/CVE/secnote-2026-12.txt
  • github.com/advisories/GHSA-9983-vrx2-fg9c
  • github.com/nats-io/nats-server
  • github.com/nats-io/nats-server/security/advisories/GHSA-9983-vrx2-fg9c
  • nvd.nist.gov/vuln/detail/CVE-2026-33222

Code Behaviors & Features

Detect and mitigate CVE-2026-33222 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

go/github.com/nats-io/nats-server/CVE-2026-33222.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:20:18 +0000.