CVE-2026-33215
JSON

6.5medium

NATS is vulnerable to MQTT hijacking via Client ID

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.27% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-fcjp-h8cc-6879BIT-NATS-2026-33215GO-2026-4833

Description

NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The nats-server provides an MQTT client interface. Prior to versions 2.11.15 and 2.12.5, Sessions and Messages can by hijacked via MQTT Client ID malfeasance. Versions 2.11.15 and 2.12.5 patch the issue. No known workarounds are available.

Affected

Product or packageVersionsReported by
nats-io nats-server< 2.11.15, >= 2.12.0-RC.1, < 2.12.6CVE List
github.com/nats-io/nats-server/v2 (Go)before 2.11.15, from 2.12.0-RC.1 before 2.12.6GitHub Advisory Database, Go Vulnerability Database
github.com/nats-io/nats-server (Go)all versionsGo Vulnerability Database
linuxfoundation nats-serverfrom 2.0.0 before 2.11.15, from 2.12.0 before 2.12.5NVD
nats (Bitnami)before 2.11.15, from 2.12.0 before 2.12.6Bitnami Vulnerability Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-287CWE-488

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The nats-server provides an MQTT client interface. Prior to versions 2.11.15 and 2.12.5, Sessions and Messages can by hijacked via MQTT Client ID malfeasance. Versions 2.11.15 and 2.12.5 patch the issue. No known workarounds are available.

GitHub Advisory Database
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
Go Vulnerability Database

NATS is vulnerable to MQTT hijacking via Client ID in github.com/nats-io/nats-server

NVD (es)

NATS-Server es un servidor de alto rendimiento para NATS.io, un sistema de mensajería nativo de la nube y del borde. El nats-server proporciona una interfaz de cliente MQTT. Antes de las versiones 2.11.15 y 2.12.5, las sesiones y los mensajes pueden ser secuestrados mediante la malversación del ID de cliente MQTT. Las versiones 2.11.15 y 2.12.5 parchean el problema. No hay soluciones alternativas conocidas disponibles.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-33215 changed 2026-03-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-fcjp-h8cc-6879 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4833 changed 2026-03-27CC-BY-4.0
NVDCVE-2026-33215 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NATS-2026-33215 changed 2026-09-08Apache-2.0