CVE-2026-58213 Details
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.
A vulnerability exists in NATS Server versions prior to 2.14.1 and 2.12.9, where an MQTT client can inject protocol control characters into subscription filters. These characters are then forwarded as NATS protocol data to route or leafnode connections, corrupting the protocol stream and allowing unintended NATS operations to be injected. This issue is particularly concerning in anonymous MQTT deployments, where no credentials are required to exploit the vulnerability. Authenticated deployments are also affected, but only for clients allowed to create MQTT subscriptions.
Users can upgrade to NATS Server versions 2.14.1 or 2.12.9, both of which include the necessary fix. For deployments that require MQTT but cannot upgrade, there is no known complete workaround other than disabling anonymous MQTT access where it is not needed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linuxfoundation nats-server | < 2.12.9 >= 2.14.0, < 2.14.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 13, 2026 | Initial Analysis | [email protected] |
| Jul 9, 2026 | CVE Modified | CISA-ADP |
| Jul 8, 2026 | New CVE Received | [email protected] |