Back

HIGH

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

Published Mar 25, 2026

Description

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 products

Remediation

Red Hat mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Weaknesses (2)

References (13)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published Mar 25, 2026
Updated Sep 9, 2026
Reserved Mar 18, 2026
CISA Vulnrichment
Updated Mar 26, 2026
NVD
Status Modified
Modified Sep 9, 2026
Red Hat
Severity Important
Public date Mar 25, 2026
ENISA EUVD
Assigner GitHub_M
Published Mar 25, 2026
Updated Sep 9, 2026
Exploited since n/a
EUVD-2026-15975 GHSA-X6G4-F6Q3-FQVV