Skip to content
Heist/ feed
HighFix available

NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection

Type: advisorySource: OSV1 source record

NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.1 and 2.12.9, an MQTT client could include protocol control characters in subscription filters that were later forwarded as NATS protocol data to route or leafnode connections, corrupting the forwarded protocol stream and allowing injection of unintended NATS protocol operations. This issue is fixed in versions 2.14.1 and 2.12.9.

Announced Group revision 1
Original source ↗

BIT-nats-2026-58213

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:BIT-nats-2026-58213

nats

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
2.12.9

Source reference: /affected/0/ranges

2.14.1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.12.9"
          },
          {
            "introduced": "2.14.0"
          },
          {
            "fixed": "2.14.1"
          }
        ]
      }
    ],
    "package": {
      "name": "nats",
      "purl": "pkg:bitnami/nats",
      "ecosystem": "Bitnami"
    },
    "severity": [
      {
        "type": "CVSS_V3",
        "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"
      }
    ],
    "database_specific": {
      "source": "https://github.com/bitnami/vulndb/tree/main/data/nats/BIT-nats-2026-58213.json"
    }
  }
]
Related CVEs
CVE-2026-58213

Source reference: /aliases

Publisher severity

high

Source reference: /database_specific/severity

Event
#25935 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement