Skip to main content
CVE-2026-58213VulnerabilityPublished Updated

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

Affects MicrosoftSource GCVE Database

0
Compare
Authoritative record:CVE-2026-58213· High 7.1

Not known to be exploited · CVSS 7.1 High · fixed in 2.12.9 : patch Microsoft soon.

Data as of 5 Dec 2026, 09:43 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.12.9, 2.14.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.

What to do

Upgrade github.com/nats-io/nats-server/v2 to 2.12.9; github.com/nats-io/nats-server/v2 to 2.14.1.

Affected software

ProductAffectedFixed in
Gogithub.com/nats-io/nats-server/v2pkg:golang/github.com/nats-io/nats-server/v2Other threatsAffected
  • <2.12.9
Fixed in
  • 2.12.9
Gogithub.com/nats-io/nats-server/v2pkg:golang/github.com/nats-io/nats-server/v2Other threatsAffected
  • >=2.14.0-RC.1 <2.14.1
Fixed in
  • 2.14.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, limit exposure by controlling access to Leaf Nodes and Route Forwarding features and monitoring for unusual command activity related to MQTT SUBSCRIBE messages.

Description

CVE-2026-58213 is a vulnerability in NATS Server version 4.0 where MQTT SUBSCRIBE protocol injection via Leaf Node or Route Forwarding can lead to arbitrary NATS command injection. This issue allows an attacker to inject commands through the MQTT SUBSCRIBE protocol when messages are forwarded between nodes or routes.

References

Community reviews

Loading reviews…