{"id":"CVE-2026-58213","aliases":["BIT-nats-2026-58213","DEBIAN-CVE-2026-58213","EUVD-2026-42383","GHSA-qrcv-3558-gj4f","JLSEC-2026-1148","RHSA-2026:36016","RHSA-2026:36017","UBUNTU-CVE-2026-58213"],"status":"published","title":"NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection","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.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00441,"percentile":0.38775,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74"],"published":"2026-07-08T19:52:12Z","modified":"2026-10-28T02:30:32Z","fixes":[{"ecosystem":"Bitnami","package":"nats","fixed_in":["2.12.9","2.14.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"nats-server","fixed_in":["2.14.1-1"],"sources":["osv"]},{"ecosystem":"Julia","package":"nats_server_jll","fixed_in":["2.14.3+0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"nats","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.12.9"},{"introduced":"2.14.0"},{"fixed":"2.14.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"nats-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.1-1","2.10.16-1","2.10.18-1","2.10.24-1","2.10.27-1","2.10.3-1","2.10.4-1","2.10.7-1","2.12.4-1","2.12.6-1","2.14.1-1","2.14.3-1","2.14.6-1","2.15.1-1","2.9.10-1","2.9.19-1"]},{"source":"osv","ecosystem":"Debian:13","package":"nats-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.27-1","2.12.4-1","2.12.6-1","2.14.1-1","2.14.3-1","2.14.6-1","2.15.1-1"]},{"source":"osv","ecosystem":"Debian:14","package":"nats-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.1-1"}]}],"versions":["2.10.27-1","2.12.4-1","2.12.6-1"]},{"source":"osv","ecosystem":"Julia","package":"nats_server_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.14.3+0"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"nats-server2.14","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.14.3-1.hum1"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"nats-server2.12","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.12.12-1.hum1"}]}],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"nats-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.19-1build1","2.10.3-1","2.10.4-1","2.10.7-1","2.10.7-1ubuntu0.1","2.10.7-1ubuntu0.2","2.10.7-1ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"nats-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.24-1","2.10.27-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"nats-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.27-1","2.10.27-1build1","2.10.27-1ubuntu0.26.04.1~esm1"]}],"products":[{"vendor":"linuxfoundation","product":"nats-server"},{"vendor":"nats-io","product":"nats-server"}],"references":[{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-qrcv-3558-gj4f","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web","article","report"]},{"url":"https://github.com/nats-io/nats-server/pull/8163","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web","article"]},{"url":"https://github.com/nats-io/nats-server/pull/8164","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web","article"]},{"url":"https://github.com/nats-io/nats-server/commit/366837cfc65ab9ccb4f98193c65e8daf238582d8","tags":["x_refsource_MISC","Patch","fix","web","article"]},{"url":"https://github.com/nats-io/nats-server/commit/64ebae40051ee497c481e10f316238faf0de1736","tags":["x_refsource_MISC","Patch","fix","web","article"]},{"url":"https://github.com/nats-io/nats-server/commit/f14856b9e57a36818f43851cb69b6e33670885c9","tags":["x_refsource_MISC","Patch","fix","web","article"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.12.9","tags":["x_refsource_MISC","Release Notes","article","web"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.14.1","tags":["x_refsource_MISC","Release Notes","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58213","tags":["web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58213.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-58213","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:36016","tags":["advisory"]},{"url":"https://images.redhat.com/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-58213","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-58210","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-58211","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-58209","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-58214","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-58254","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_36016.json","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498259","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-58209","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58209","tags":["advisory"]},{"url":"https://github.com/nats-io/nats-server/commit/181b1f51f40b9954c57e9d478e051fb257679356","tags":["article"]},{"url":"https://github.com/nats-io/nats-server/commit/1c429b6fdc5afd4188cc5faf1127f6334896cd87","tags":["article"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.12.12","tags":["article"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.14.3","tags":["article"]},{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-7qmq-8cc4-hxwg","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498247","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-58210","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58210","tags":["advisory"]},{"url":"https://github.com/nats-io/nats-server/commit/bce9ef39469e610aeddb819194ceb7f7edfc0861","tags":["article"]},{"url":"https://github.com/nats-io/nats-server/commit/e016e47bbf70304945f2ae9dc397e4862adefaf5","tags":["article"]},{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-r72h-j7qq-v6qg","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498258","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-58211","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58211","tags":["advisory"]},{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-hmmp-q8cx-v964","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498249","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-58213","tags":["advisory","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498260","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-58214","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58214","tags":["advisory"]},{"url":"https://github.com/nats-io/nats-server/commit/297b166be60fe13144084eed4b25201ead03204a","tags":["article"]},{"url":"https://github.com/nats-io/nats-server/commit/34b09657bb596d5f850eaa5cfc97ea6b2f989a97","tags":["article"]},{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-4g68-3pwx-5vfj","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498266","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-58254","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58254","tags":["advisory"]},{"url":"https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd","tags":["article"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.12.8","tags":["article"]},{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h","tags":["article"]},{"url":"https://access.redhat.com/errata/RHSA-2026:36017","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_36017.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-58213","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-58213","title":"NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection","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.","status":"published","published":"2026-07-08T19:52:12.148Z","modified":"2026-07-09T13:33:07.155Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T13:47:28.691429Z"}],"euvd":[{"id":"EUVD-2026-42383","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.","status":"published","published":"2026-07-08T19:52:12Z","modified":"2026-07-09T13:33:07Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T18:20:04.523855Z"}],"nvd":[{"id":"CVE-2026-58213","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.","status":"published","published":"2026-07-08T20:16:54.18Z","modified":"2026-10-25T17:10:00.197Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:12:28.4135Z"}],"osv":[{"id":"CVE-2026-58213","title":"NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection","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.","status":"published","published":"2026-07-08T19:52:12.148Z","modified":"2026-10-28T02:30:32.335392579Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:45:12.016252Z"},{"id":"DEBIAN-CVE-2026-58213","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.","status":"published","published":"2026-07-08T20:16:54.18Z","modified":"2026-10-26T12:02:38.514411161Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:57.590991Z"},{"id":"JLSEC-2026-1148","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.","status":"published","published":"2026-08-03T19:08:57.739Z","modified":"2026-08-03T19:15:07.377913101Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:47:18.159338Z"},{"id":"RHSA-2026:36016","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update","status":"published","published":"2026-08-22T10:22:44Z","modified":"2026-09-06T10:13:15Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:19.963895Z"},{"id":"RHSA-2026:36017","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update","status":"published","published":"2026-08-22T10:22:45Z","modified":"2026-09-08T10:12:58Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:19.963895Z"},{"id":"UBUNTU-CVE-2026-58213","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.","status":"published","published":"2026-07-08T20:16:00Z","modified":"2026-07-15T19:47:48.581110244Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T16:56:41.911783Z"},{"id":"BIT-nats-2026-58213","title":"NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection","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.","status":"published","published":"2026-07-14T15:47:13.837Z","modified":"2026-09-29T10:00:04.754359984Z","updated_at":"2026-11-02T15:28:34.007508Z"}]}}
