{"id":"GHSA-qrcv-3558-gj4f","revision":null,"records":[{"revision":"9aaf091e696340daa810d40750b578da","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-58213","aliases":[],"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.","state":0,"publishedAt":"2026-07-08T19:52:12.148+00:00","modifiedAt":"2026-07-09T13:33:07.155+00:00","affected":[{"ecosystem":"Vendor product","name":"nats-server","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"nats-io\",\n                    \"product\": \"nats-server\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.12.9\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 2.14.0-RC.1, < 2.14.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"severity":"HIGH"}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-qrcv-3558-gj4f","https://github.com/nats-io/nats-server/pull/8163","https://github.com/nats-io/nats-server/pull/8164","https://github.com/nats-io/nats-server/commit/366837cfc65ab9ccb4f98193c65e8daf238582d8","https://github.com/nats-io/nats-server/commit/64ebae40051ee497c481e10f316238faf0de1736","https://github.com/nats-io/nats-server/commit/f14856b9e57a36818f43851cb69b6e33670885c9","https://github.com/nats-io/nats-server/releases/tag/v2.12.9","https://github.com/nats-io/nats-server/releases/tag/v2.14.1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-58213","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-58213","identifiers":["CVE-2026-58213"]},"retained":false,"historicalAffected":[]},{"revision":"df25178997fc4714b9aef41ea5cea300","observedAt":"2026-11-23T17:27:47.301+00:00","statement":{"source":"euvd","id":"EUVD-2026-42383","aliases":["CVE-2026-58213","GHSA-qrcv-3558-gj4f"],"title":"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…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"severity":null}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-qrcv-3558-gj4f","https://github.com/nats-io/nats-server/pull/8163","https://github.com/nats-io/nats-server/pull/8164","https://github.com/nats-io/nats-server/commit/366837cfc65ab9ccb4f98193c65e8daf238582d8","https://github.com/nats-io/nats-server/commit/64ebae40051ee497c481e10f316238faf0de1736","https://github.com/nats-io/nats-server/commit/f14856b9e57a36818f43851cb69b6e33670885c9","https://github.com/nats-io/nats-server/releases/tag/v2.12.9","https://github.com/nats-io/nats-server/releases/tag/v2.14.1"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42383","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 8, 2026, 7:52:12 PM","dateUpdated":"Jul 9, 2026, 1:33:07 PM"},"relatedAdvisories":[{"id":"RHSA-2026:36017","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update","vulnerabilityIds":["CVE-2026-58209","CVE-2026-58210","CVE-2026-58211","CVE-2026-58213","CVE-2026-58214","CVE-2026-58254"]},{"id":"WID-SEC-W-2026-2132","title":"NATS Server: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2026-58207","CVE-2026-58208","CVE-2026-58209","CVE-2026-58210","CVE-2026-58211","CVE-2026-58213","CVE-2026-58214","CVE-2026-58250","CVE-2026-58251","CVE-2026-58252","CVE-2026-58253","CVE-2026-58254"]},{"id":"msrc_CVE-2026-58213","title":"NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection","vulnerabilityIds":["CVE-2026-58213"]},{"id":"RHSA-2026:36016","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update","vulnerabilityIds":["CVE-2026-58209","CVE-2026-58210","CVE-2026-58211","CVE-2026-58213","CVE-2026-58214","CVE-2026-58254"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-42383","identifiers":["EUVD-2026-42383","CVE-2026-58213","GHSA-qrcv-3558-gj4f"]},"retained":false,"historicalAffected":[]},{"revision":"215c53c3496347359c8ad3371fde95b0","observedAt":"2026-11-19T16:47:05.744+00:00","statement":{"source":"nvd","id":"CVE-2026-58213","aliases":[],"title":"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…","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.","state":0,"publishedAt":"2026-07-08T20:16:54.18+00:00","modifiedAt":"2026-10-25T17:10:00.197+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"severity":"HIGH"}],"references":["https://github.com/nats-io/nats-server/commit/366837cfc65ab9ccb4f98193c65e8daf238582d8","https://github.com/nats-io/nats-server/commit/64ebae40051ee497c481e10f316238faf0de1736","https://github.com/nats-io/nats-server/commit/f14856b9e57a36818f43851cb69b6e33670885c9","https://github.com/nats-io/nats-server/pull/8163","https://github.com/nats-io/nats-server/pull/8164","https://github.com/nats-io/nats-server/releases/tag/v2.12.9","https://github.com/nats-io/nats-server/releases/tag/v2.14.1","https://github.com/nats-io/nats-server/security/advisories/GHSA-qrcv-3558-gj4f"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-58213","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-74"],"productCriteria":["cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-07-08T20:16:54.180","lastModified":"2026-10-25T17:10:00.197"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-58213","identifiers":["CVE-2026-58213"]},"retained":false,"historicalAffected":[]},{"revision":"ae79622dafa049efa5f4a13e4e56101a","observedAt":"2026-11-23T21:27:08.137+00:00","statement":{"source":"osv","id":"GHSA-qrcv-3558-gj4f","aliases":["BIT-nats-2026-58213","CVE-2026-58213","GO-2026-7000"],"title":"NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection","description":"### Background\n\nNATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing.\n\nThe NATS Server supports MQTT clients and can bridge MQTT activity into NATS subjects across routes and leafnode connections.\n\n### Problem Description\n\nAn MQTT client could include protocol control characters in subscription filters that were later forwarded as NATS protocol data to route or leafnode connections.\n\nThis could corrupt the forwarded protocol stream and allow injection of unintended NATS protocol operations, potentially across cluster nodes or accounts where route or gateway connections are present.\n\nAnonymous MQTT deployments are higher risk because no credentials are required to reach the affected parser. Authenticated deployments are still affected for clients allowed to create MQTT subscriptions.\n\n### Affected Versions\n\nVersions v2.14.0, v2.12.8 and below are vulnerable. The issue is fixed in v2.14.1 and v2.12.9.\n\n### Workarounds\n\nDisable anonymous MQTT access where it is not required. Deployments that need MQTT have no known complete workaround other than upgrading.\n\n### References\n\n * GHSA advisory: <https://github.com/nats-io/nats-server/security/advisories/GHSA-qrcv-3558-gj4f>\n * Credit: @thesecguy45","state":0,"publishedAt":"2026-11-19T15:56:55+00:00","modifiedAt":"2026-11-23T20:41:34.3296388+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.12.9"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.14.0-RC.1"},{"kind":"fixed","version":"2.14.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-qrcv-3558-gj4f","https://nvd.nist.gov/vuln/detail/CVE-2026-58213","https://github.com/nats-io/nats-server/pull/8163","https://github.com/nats-io/nats-server/pull/8164","https://github.com/nats-io/nats-server/commit/366837cfc65ab9ccb4f98193c65e8daf238582d8","https://github.com/nats-io/nats-server/commit/64ebae40051ee497c481e10f316238faf0de1736","https://github.com/nats-io/nats-server/commit/f14856b9e57a36818f43851cb69b6e33670885c9","https://github.com/nats-io/nats-server","https://github.com/nats-io/nats-server/releases/tag/v2.12.9","https://github.com/nats-io/nats-server/releases/tag/v2.14.1"],"sourceUrl":"https://github.com/advisories/GHSA-qrcv-3558-gj4f","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qrcv-3558-gj4f","identifiers":["GHSA-qrcv-3558-gj4f","BIT-nats-2026-58213","CVE-2026-58213","GO-2026-7000"]},"retained":false,"historicalAffected":[]},{"revision":"38c25a1f6dc14ae68325c125dc70f458","observedAt":"2026-11-23T21:27:08.137+00:00","statement":{"source":"osv","id":"GO-2026-7000","aliases":["BIT-nats-2026-58213","CVE-2026-58213","GHSA-qrcv-3558-gj4f"],"title":"NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection in github.com/nats-io/nats-server/v2","description":"NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection in github.com/nats-io/nats-server/v2","state":0,"publishedAt":"2026-11-23T20:04:59+00:00","modifiedAt":"2026-11-23T20:41:34.3296388+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.12.9"},{"kind":"introduced","version":"2.14.0-RC.1"},{"kind":"fixed","version":"2.14.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-qrcv-3558-gj4f","https://nvd.nist.gov/vuln/detail/CVE-2026-58213","https://github.com/nats-io/nats-server/commit/366837cfc65ab9ccb4f98193c65e8daf238582d8","https://github.com/nats-io/nats-server/commit/64ebae40051ee497c481e10f316238faf0de1736","https://github.com/nats-io/nats-server/commit/f14856b9e57a36818f43851cb69b6e33670885c9","https://github.com/nats-io/nats-server/pull/8163","https://github.com/nats-io/nats-server/pull/8164","https://github.com/nats-io/nats-server/releases/tag/v2.12.9","https://github.com/nats-io/nats-server/releases/tag/v2.14.1"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-7000","license":"OSV · upstream source license applies","key":"osv:GO-2026-7000","identifiers":["GO-2026-7000","BIT-nats-2026-58213","CVE-2026-58213","GHSA-qrcv-3558-gj4f"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T05:08:10.6533461+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T05:08:10.6533461+00:00","lastSuccessAt":"2026-11-25T05:08:10.8537351+00:00","error":null,"lastVerifiedAt":"2026-11-25T05:08:10.8537356+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-3e501f9ace412b1c928a30318adaefadebb2d94936f7c2707413dfadb43dc35d","complete":true,"records":431933,"lastAttemptAt":"2026-11-25T05:08:09.8914327+00:00","lastSuccessAt":"2026-11-25T05:08:09.8244284+00:00","error":null,"lastVerifiedAt":"2026-11-25T05:08:09.8914327+00:00","snapshotPublishedAt":"2026-11-25T04:31:21+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-80fd54d37b9e466b80503cda92ac8171","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T05:13:22.3111579+00:00","lastSuccessAt":"2026-11-25T05:13:22.306+00:00","error":"61 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T05:13:22.306+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13914,"expectedIdentifiers":13986,"failedIdentifiers":61},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T05:08:10.6533461+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T05:08:10.6533461+00:00","lastSuccessAt":"2026-11-25T05:08:10.8546638+00:00","error":null,"lastVerifiedAt":"2026-11-25T05:08:10.854664+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-07b09697419e4dc780c7d0d09ec2b5cd","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T05:08:13.0833637+00:00","lastSuccessAt":"2026-11-25T05:08:13.079+00:00","error":null,"lastVerifiedAt":"2026-11-25T05:08:13.079+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e743412268199d418c20ac5ea5d5eefbef4a1c78fcbacada525fcf2201b41d4a","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T05:08:10.5532095+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T05:08:10.5532095+00:00","snapshotPublishedAt":"2026-11-24T22:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T05:08:10.0601069+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T05:08:10.0601069+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-25T05:08:10.5653883+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T05:08:10.5653883+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-6508b5601cebde5636c02aaee9585235b1518b5bed3f57c018753e63ffb99786","complete":true,"records":233075,"lastAttemptAt":"2026-11-25T05:08:10.4464769+00:00","lastSuccessAt":"2026-11-25T04:10:17.9306356+00:00","error":null,"lastVerifiedAt":"2026-11-25T05:08:10.4464769+00:00","snapshotPublishedAt":"2026-11-25T04:03:45+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}