Skip to main content
← All vulnerabilities
CVE-2026-33247GO-2026-4827BIT-NATS-2026-33247GHSA-X6G4-F6Q3-FQVV

NATS credentials are exposed in monitoring port via command-line argv

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.11.15, 2.12.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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), 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • nats-io nats-server

    fixed in 2.11.15; From 2.12.0-RC.1 · fixed in 2.12.6

  • github.com/nats-io/nats-serverGo

    All versions

  • github.com/nats-io/nats-server/v2Go

    fixed in 2.11.15; From 2.12.0-RC.1 · fixed in 2.12.6

  • github.com/nats-io/nats-server/v2Go

    fixed in 2.11.15

  • github.com/nats-io/nats-server/v2Go

    From 2.12.0-RC.1 · fixed in 2.12.6

References 2

GitHub · nats-io/nats-server

advisories.nats.io