CVE-2026-58213
Published:July 08, 2026
Updated:August 04, 2026
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 Packages
https://github.com/nats-io/nats-server.git (GITHUB):
Affected version(s) =v2.14.0 <v2.14.1Fix Suggestion:
Update to version v2.14.1https://github.com/nats-io/nats-server.git (GITHUB):
Affected version(s) >=v2.12.0 <v2.12.9Fix Suggestion:
Update to version v2.12.9github.com/nats-io/nats-server/v2 (GO):
Affected version(s) =v2.14.0 <v2.14.1Fix Suggestion:
Update to version v2.14.1github.com/nats-io/nats-server (GO):
Affected version(s) =v2.14.0 <v2.14.1Fix Suggestion:
Update to version v2.14.1github.com/nats-io/nats-server (GO):
Affected version(s) >=v2.12.0 <v2.12.9Fix Suggestion:
Update to version v2.12.9github.com/nats-io/nats-server/v2 (GO):
Affected version(s) >=v2.12.0 <v2.12.9Fix Suggestion:
Update to version v2.12.9Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
EPSS
Base Score:
0.32