GHSA-X6G4-F6Q3-FQVV
NATS credentials are exposed in monitoring port via command-line argv
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-X6G4-F6Q3-FQVV divulgada | |
| Remediación | Parche v2.11.15 | github.com/nats-io/nats-server/v2 · 0 d desde divulgación | |
| Remediación | Parche v2.12.6 | github.com/nats-io/nats-server/v2 · 0 d desde divulgación | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
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.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogithub.com/nats-io/nats-server/v2 |
Corregida | v2.11.15, v2.12.6 | 0 d · 0 d | v2.15.3 no afectada |
2.11.15v2.11.152.12.6v2.12.6Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2026-33247https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvvhttps://advisories.nats.io/CVE/secnote-2026-14.txthttps://github.com/nats-io/nats-serverhttps://pkg.go.dev/vuln/GO-2026-4827Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
