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

Hay constancia de un parche 134 días después de la divulgación. Versiones corregidas: github.com/nats-io/nats-server/v2 2.12.9 y github.com/nats-io/nats-server/v2 2.14.1. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

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
etapa
PAT
divulgación
divulgación → parche
T+134d
cvss
7.1 HIGH v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
07-08T19:52Z
PATparcheada
11-19T16:04Z
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 7.1, severidad alta.

fuente cvelist · nday , importación masiva · en bruto
{
  "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"
  }
}
hora observada en tiempo real por nday
+PATparche registrado

Versiones corregidas según el aviso: github.com/nats-io/nats-server/v2 2.12.9 y github.com/nats-io/nats-server/v2 2.14.1. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-qrcv-3558-gj4f · nday , observado en tiempo real · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.