MEDIUM 6.5 Go

NATS is vulnerable to MQTT hijacking via Client ID

GHSA-fcjp-h8cc-6879 · BIT-nats-2026-33215 · CVE-2026-33215 · GO-2026-4833

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes