CVE-2026-33247
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess NATS monitoring port
-
DeliveryRetrieve command-line arguments from process info
-
ExploitExtract hardcoded static credentials
-
ExecutionAuthenticate as privileged client
-
ImpactPublish/subscribe to sensitive messages
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Debug information protection
|
| Exploitation Conditions | nats-server must be configured with static credentials passed via command-line arguments AND the monitoring port must be accessible to the attacker. Requires network access to the monitoring port (default 8222). No authentication required to read exposed credentials from monitoring endpoint. |
| Impact | The CVSS score of 7.4 (High) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N indicates network-accessible exploitation with high attack complexity requiring no privileges or user interaction. The high complexity (AC:H) stems from the requirement that both command-line credentials and monitoring port must be enabled simultaneously—a configuration the NATS maintainers describe as unlikely in production environments. No EPSS score, KEV listing, or public POC is mentioned in the available data, suggesting limited observed exploitation activity. The real-world risk is moderate rather than critical because the vulnerability requires a specific misconfiguration (CLI credentials plus exposed monitoring) that contradicts documented best practices. Organizations following security guidance to restrict monitoring port access and use configuration files face minimal risk, making this more of a defense-in-depth issue than an urgent widespread threat. |
| Exploit ScenarioDerived | An attacker scanning for exposed NATS monitoring ports on default or common ports discovers an instance configured with command-line credentials. By sending an HTTP GET request to the /debug/vars endpoint without authentication, the attacker retrieves the unredacted argv array containing plaintext credentials passed via flags like --user and --pass. Using these stolen credentials, the attacker authenticates to the NATS server to publish malicious messages, subscribe to sensitive data streams, or disrupt message routing across the distributed system. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 24, 2026
A credential exposure vulnerability exists in NATS.io nats-server where static authentication credentials passed via command-line arguments are disclosed through the monitoring port's /debug/vars endpoint without redaction. NATS.io nats-server versions prior to 2.12.6 and 2.11.15 are affected. An attacker with network access to the monitoring port can retrieve plaintext credentials and gain unauthorized access to the messaging system, though this requires the uncommon configuration of both using command-line credentials and enabling monitoring.
RemediationAI
Upgrade nats-server to version 2.12.6 or later for the 2.12.x branch, or version 2.11.15 or later for the 2.11.x branch as documented in the GitHub security advisory at https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvv. As immediate workarounds, migrate credential configuration from command-line arguments to configuration files where secrets are properly handled, or disable the monitoring port entirely if command-line credentials must be used. Following NATS best practices, restrict monitoring port access to trusted networks only and never expose it to the Internet, implementing network segmentation and firewall rules to limit access to authorized administrators. Additional security guidance is available at https://advisories.nats.io/CVE/secnote-2026-14.txt.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NATS.io is a high-performance publish-subscribe messaging system designed for cloud-native, edge, and IoT deployments. The affected product is identified via CPE as pkg:go/github.com_nats-io_nats-server_v2. This vulnerability is classified as CWE-215 (Insertion of Sensitive Information Into Debugging Code), occurring when the nats-server's optional monitoring port exposes the /debug/vars endpoint containing an unredacted copy of the process's argv array. When administrators configure static credentials using command-line flags like --pass instead of configuration files, these secrets become visible to anyone who can access the monitoring endpoint, effectively bypassing any expectation of credential confidentiality.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
Background
NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing.
The nats-server provides an optional monitoring port, which provides access to sensitive data. The nats-server can take certain configuration options on the command-line instead of requiring a configuration file.
Problem Description
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.
Patches
Fixed in nats-server 2.12.6 & 2.11.15
Workarounds
The NATS Maintainers are bemused at the concept of someone deploying a real configuration using --pass to avoid a config file, but also enabling monitoring.
Configure credentials inside a configuration file instead of via argv.
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.
Executive ViewAI
A credential exposure vulnerability in NATS.io messaging servers could allow attackers to steal authentication credentials and gain unauthorized access to messaging infrastructure. This risk is limited to organizations using command-line authentication combined with monitoring port exposure, but affected systems should be prioritized for remediation given the unavailability of patches.
Restrict network access to the monitoring port (default 8222) using firewall rules or network segmentation; disable the /debug/vars endpoint or entire monitoring interface if monitoring is not required; migrate from command-line credential configuration to environment variables or external secret management systems; implement API-level access controls to limit monitoring port visibility to trusted administrative networks only.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
Related Vulnerabilities in NATS Server Authentication Issues
View all 2Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.5 | Fixed |
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB