Skip to content
Fencer Vulns
high 7.1

CVE-2026-58213 json

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

published 2026-07-08 4 mo ago modified 2026-10-25 14 d ago also BIT-nats-2026-58213 , EUVD-2026-42383 , GHSA-qrcv-3558-gj4f , JLSEC-2026-1148

cvss
7.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 38%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami nats 2.12.9, 2.14.1
  • julia nats_server_jll 2.14.3+0
  • linuxfoundation nats-server 2.12.9, 2.14.1
  • nats nats_server 2.12.9, 2.14.1
  • nats nats_streaming_server 2.12.9, 2.14.1
  • nats-server Debian 14 2.14.1-1

debian advisories DEBIAN-CVE-2026-58213

  • nats-server2.12 hummingbird 1 2.12.12-1.hum1
  • nats-server2.14 hummingbird 1 2.14.3-1.hum1

red hat advisories RHSA-2026:36017RHSA-2026:36016

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-58213 updated cvss 7.1

nats-server: NATS Server: Protocol stream corruption and unintended operation injection via MQTT client subscription filters

  • Red Hat Hardened Images nats-server2.14 2.14.3-1.hum1, nats-server2.12 2.12.12-1.hum1
    fixed: vendor fix RHSA-2026:36017

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 mo ago

Exploit prediction

0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
OSV 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Affected packages

ecosystem package affected fixed in
bitnami nats
<2.12.9
>=2.14.0, <2.14.1
2.12.9
2.14.1
julia nats_server_jll
<2.14.3+0
2.14.3+0

Affected products

  • nats-io nats-server

Classification

Weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.