nday
CVE-2026-58254 GHSA-p3j5-5hrq-p75h

NATS Server: Incomplete fix for CVE-2026-33249: Leaf node connections bypass Nats-Trace-Dest permission check

nats-io / nats-server

A public PoC appeared 136 days after disclosure. Patched: fixed in github.com/nats-io/nats-server/v2 2.12.8 and github.com/nats-io/nats-server/v2 2.14.3. Listed by 1 of 4 PoC sources: github. Not in CISA KEV.

tags weakness typebroken access control 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.

broken access control
CWE-863, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-p3j5-5hrq-p75h
network
AV:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
Go
GHSA-p3j5-5hrq-p75h: go packages github.com/nats-io/nats-server/v2
stage
POC
disclosed
disclosure → PoC
T+136d POC is date-only
cvss
5.3 MEDIUM v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
07-08T19:56Z
PATpatch
11-21T00:03Z
ANAanalysis
no record yet
POCPoC
11-21, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.8, message trace destination checks were applied to ordinary client connections but not consistently to messages arriving through leafnode connections, allowing a leafnode operator to send trace events to subjects that would not otherwise be permitted and to use trace-only behavior to prevent normal delivery or storage of affected messages. This issue is fixed in versions 2.14.3 and 2.12.8.

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 target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

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

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 5.3, medium.

src cvelist · nday , bulk import · raw
{
  "id": 433578,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-58254",
  "occurred_at": "2026-07-08T19:56:58.311Z",
  "observed_at": "2026-11-13T05:39:58.072953Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 5.3,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-07-09T13:38:04.787145Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-07-08T19:56:58.311Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed versions github.com/nats-io/nats-server/v2 2.12.8 and github.com/nats-io/nats-server/v2 2.14.3. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-p3j5-5hrq-p75h · nday , observed live · raw
{
  "id": 498421,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-p3j5-5hrq-p75h",
  "occurred_at": null,
  "observed_at": "2026-11-21T00:03:22.984947Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-p3j5-5hrq-p75h",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 6.5,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
      },
      "cvss_v4": {
        "score": 5.3,
        "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
      }
    },
    "cwes": [
      {
        "name": "Incorrect Authorization",
        "cwe_id": "CWE-863"
      }
    ],
    "ghsa_id": "GHSA-p3j5-5hrq-p75h",
    "packages": [
      {
        "name": "github.com/nats-io/nats-server/v2",
        "ecosystem": "go",
        "first_patched_version": "2.12.8",
        "vulnerable_version_range": "< 2.12.8"
      },
      {
        "name": "github.com/nats-io/nats-server/v2",
        "ecosystem": "go",
        "first_patched_version": "2.14.3",
        "vulnerable_version_range": ">= 2.14.0-RC.1, < 2.14.3"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-58254",
      "https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd",
      "https://github.com/nats-io/nats-server/releases/tag/v2.12.8",
      "https://github.com/nats-io/nats-server/releases/tag/v2.14.3",
      "https://github.com/advisories/GHSA-p3j5-5hrq-p75h"
    ],
    "fix_commit_urls": [
      "https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd"
    ],
    "github_reviewed_at": "2026-11-20T23:31:59Z",
    "advisory_updated_at": "2026-11-20T23:32:00Z",
    "source_code_location": "https://github.com/nats-io/nats-server",
    "advisory_published_at": "2026-11-20T23:31:59Z"
  }
}
2026-11-21date only, from source
+POCpublic PoC

PoC repository on GitHub: googlesky/CVE-2026-58254. The date is the repository's creation day.

src github 1466230204 · nday , observed live · raw
{
  "id": 498572,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/googlesky/CVE-2026-58254",
  "occurred_at": "2026-11-21T05:52:42Z",
  "observed_at": "2026-11-21T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1466230204",
  "detail": {
    "url": "https://github.com/googlesky/CVE-2026-58254",
    "title": "googlesky/CVE-2026-58254",
    "precision": "day"
  }
}

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.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.