nday
CVE-2026-58213 GHSA-qrcv-3558-gj4f

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

nats-io / nats-server

公開から 134 日後に修正版が確認されています。修正済みバージョンは github.com/nats-io/nats-server/v2 2.12.9、github.com/nats-io/nats-server/v2 2.14.1 です。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

tags accessnetworkno user interaction ecosystemGo
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
Go
GHSA-qrcv-3558-gj4f: go packages github.com/nats-io/nats-server/v2
現在の段階
PAT
公開日時
公開から修正版まで
T+134d
CVSS 基本値
7.1 HIGH v3.1

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
07-08T19:52Z
PAT修正
11-19T16:04Z
ANA解析
記録なし
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

イベント履歴

+DIS公開

GitHub_M が CVE レコードを公開。CVSS 基本値 7.1(重要)。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 433546,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-58213",
  "occurred_at": "2026-07-08T19:52:12.148Z",
  "observed_at": "2026-11-13T05:39:58.072953Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N",
      "version": "3.1",
      "base_score": 7.1,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-07-09T13:32:57.416842Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-07-08T19:52:12.148Z",
    "assigner_short_name": "GitHub_M"
  }
}
ソースに時刻なし、nday が観測
+PAT修正版公開

アドバイザリ記載の修正済みバージョン:github.com/nats-io/nats-server/v2 2.12.9、github.com/nats-io/nats-server/v2 2.14.1。修正コミットへのリンクあり。アドバイザリの公開は 。修正版そのもののリリース日時は記録なし。

出典 ghsa GHSA-qrcv-3558-gj4f · nday が にリアルタイムで観測 · 生データ
{
  "id": 486113,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-qrcv-3558-gj4f",
  "occurred_at": null,
  "observed_at": "2026-11-19T16:04:12.558269Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-qrcv-3558-gj4f",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 7.1,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component",
        "cwe_id": "CWE-74"
      }
    ],
    "ghsa_id": "GHSA-qrcv-3558-gj4f",
    "packages": [
      {
        "name": "github.com/nats-io/nats-server/v2",
        "ecosystem": "go",
        "first_patched_version": "2.12.9",
        "vulnerable_version_range": "< 2.12.9"
      },
      {
        "name": "github.com/nats-io/nats-server/v2",
        "ecosystem": "go",
        "first_patched_version": "2.14.1",
        "vulnerable_version_range": ">= 2.14.0-RC.1, < 2.14.1"
      }
    ],
    "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/releases/tag/v2.12.9",
      "https://github.com/nats-io/nats-server/releases/tag/v2.14.1",
      "https://github.com/advisories/GHSA-qrcv-3558-gj4f"
    ],
    "fix_commit_urls": [
      "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"
    ],
    "github_reviewed_at": "2026-11-19T15:56:55Z",
    "advisory_updated_at": "2026-11-19T15:56:57Z",
    "source_code_location": "https://github.com/nats-io/nats-server",
    "advisory_published_at": "2026-11-19T15:56:55Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.