Advisory

GHSA-9983-vrx2-fg9c

Also known as: BIT-nats-2026-33222, CVE-2026-33222, GO-2026-4832

Summary

NATS JetStream has an authorization bypass through its Management API

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-24 21:49 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

github.com/nats-io/nats-server/v2

Go · All systems

Affected

  • introduced 0, fixed 2.11.15 (semver)

Fixed versions

2.11.15

Fix

github.com/nats-io/nats-server/v2

Go · All systems

Affected

  • introduced 2.12.0-RC.1, fixed 2.12.6 (semver)

Fixed versions

2.12.6

Fix

github.com/nats-io/nats-server

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences