Skip to content
OpenAdvisories
High · 7.1 CVE-2026-58213 EUVD-2026-42383

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

Published Jul 8, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
nats-io nats-server < 2.12.9, >= 2.14.0-RC.1, < 2.14.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nats-server 2.14.1-1 —
Debian 13 nats-server No fix yet —
Debian 12 nats-server No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 nats-server No fix yet —
Ubuntu 24.04 LTS nats-server No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS nats-server No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 nats-server2.12 2.12.12-1.hum1 RHSA-2026:36017
Red Hat Hardened Images 1 nats-server2.14 2.14.3-1.hum1 RHSA-2026:36016

Advisories 3

References