Advisory

GHSA-fcjp-h8cc-6879

Also known as: BIT-nats-2026-33215, CVE-2026-33215, GO-2026-4833

Summary

NATS is vulnerable to MQTT hijacking via Client ID

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 nats-server provides an MQTT client interface.

Problem Description

Sessions and Messages can by hijacked via MQTT Client ID malfeasance.

Affected Versions

Any version before v2.12.6 or v2.11.15

Workarounds

None.

Resources

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-24 21:39 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

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