CVE-2026-58213

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

HIGH
7.1
CVSS Score
Published: July 8, 2026 at 07:52 PM UTC
Updated: October 25, 2026 at 05:10 PM UTC
2 products affected across 2 vendorsNats ServerNats Server

Using nats-server by nats-io?

Get instant alerts when new vulnerabilities affect nats-server - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.12.92.14.0 ≤ v < 2.14.1
Affected range stops below 2.12.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.14.1, so it looks safe — our inference, not a vendor statement
v < 2.12.9
Affected range stops below 2.12.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.14.1, so it looks safe — our inference, not a vendor statement

References (8)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.1HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-74

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card