{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-58213","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 is","descriptionLong":"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.","published":"2026-07-08T19:52:12.148Z","updated":"2026-10-28T02:30:32.335392579Z","reserved":"2026-06-29T17:09:25.873Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"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","rating":"high","source":"GitHub_M"},"metrics":[{"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","rating":"high","source":"GitHub_M"},{"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","rating":"high","source":"github.com"},{"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","rating":"high","source":"OSV"}],"rating":"high","products":["nats-io nats-server"],"affectedProducts":[{"vendor":"nats-io","product":"nats-server","defaultStatus":null,"versions":[{"version":"< 2.12.9","status":"affected"},{"version":">= 2.14.0-RC.1, < 2.14.1","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-74"],"aliases":["BIT-nats-2026-58213","GHSA-qrcv-3558-gj4f"],"references":[{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-qrcv-3558-gj4f","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory"]},{"url":"https://github.com/nats-io/nats-server/pull/8163","tags":["x_refsource_MISC","Issue Tracking","Patch","fix"]},{"url":"https://github.com/nats-io/nats-server/pull/8164","tags":["x_refsource_MISC","Issue Tracking","Patch","fix"]},{"url":"https://github.com/nats-io/nats-server/commit/366837cfc65ab9ccb4f98193c65e8daf238582d8","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/nats-io/nats-server/commit/64ebae40051ee497c481e10f316238faf0de1736","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/nats-io/nats-server/commit/f14856b9e57a36818f43851cb69b6e33670885c9","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.12.9","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.14.1","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58213.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58213","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00441,"epssPercentile":0.38983,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-58213","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58213","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-58213","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-58213","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}