---
id: CVE-2026-33247
title: >-
  NATS-Server is a High-Performance server for NATS.io, a cloud and edge native
  messaging system
summary: >-
  NATS-Server is a High-Performance server for NATS.io, a cloud and edge native
  messaging system. Prior to versions 2.11.15 and 2.12.6, if a nats-server is
  run with static credentials for all clients provided via argv (the
  command-line), t…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-215
  - CWE-214
vendor: linuxfoundation
product: nats-server
affected:
  - nats-server < 2.11.15
  - 'nats-server >= 2.12.0, < 2.12.6'
patched:
  - nats-server 2.12.6
published: '2026-03-25'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T13:19:24.700'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-33247'
references:
  - url: 'https://advisories.nats.io/CVE/secnote-2026-14.txt'
    label: security-advisories@github.com
  - url: >-
      https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvv
    label: security-advisories@github.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:21769'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:22347'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:23345'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-33247'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2451486'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33247.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-33247'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-33247'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-03-26T19:36:35.906107Z'
epss: 0.00414
epssPercentile: 0.35241
scores:
  nvd: 7.4
  vendor: 7.5
  cna: 7.4
ingestedAt: '2026-07-20T12:38:40.761Z'
---

## Overview

NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, if a nats-server is run with static credentials for all clients provided via argv (the command-line), then those credentials are visible to any user who can see the monitoring port, if that too is enabled. The `/debug/vars` end-point contains an unredacted copy of argv. Versions 2.11.15 and 2.12.6 contain a fix. As a workaround, configure credentials inside a configuration file instead of via argv, and do not enable the monitoring port if using secrets in argv. Best practice remains to not expose the monitoring port to the Internet, or to untrusted network sources.

## Affected

- `nats-server < 2.11.15`
- `nats-server >= 2.12.0, < 2.12.6`

## Remediation

Upgrade past the affected range:

- `nats-server 2.12.6`

## Vendor advisories

- **RHSA-2026:22347** · Red Hat · fixed in: Multicluster Global Hub 1.4.5 · released 2026-06-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:22347)
- **RHSA-2026:23345** · Red Hat · fixed in: Multicluster Global Hub 1.6.5 · released 2026-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2026:23345)
- **RHSA-2026:21769** · Red Hat · fixed in: Red Hat multicluster global hub 1.5.3 · released 2026-05-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:21769)
