{"schema_version":"1.7.5","id":"GHSA-v722-jcv5-w7mc","published":"2026-03-24T21:42:10Z","modified":"2026-03-27T22:18:39.770946Z","aliases":["BIT-nats-2026-33216","CVE-2026-33216","GO-2026-4836"],"related":["CGA-gv74-v2hj-r74x"],"summary":"NATS has MQTT plaintext password disclosure","details":"### Background\n\nNATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing.\n\nThe nats-server provides an MQTT client interface.\n\n### Problem Description\n\nFor MQTT deployments using usercodes/passwords: MQTT passwords are incorrectly classified as a non-authenticating identity statement (JWT) and exposed via monitoring endpoints.\n\n### Affected Versions\n\nAny version before v2.12.6 or v2.11.15\n\n### Workarounds\n\nEnsure monitoring end-points are adequately secured.\n\nBest practice remains to not expose the monitoring endpoint to the Internet or other untrusted network users.","affected":[{"package":{"name":"github.com/nats-io/nats-server/v2","ecosystem":"Go","purl":"pkg:golang/github.com/nats-io/nats-server/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.11.15"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-v722-jcv5-w7mc/GHSA-v722-jcv5-w7mc.json"}},{"package":{"name":"github.com/nats-io/nats-server/v2","ecosystem":"Go","purl":"pkg:golang/github.com/nats-io/nats-server/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.12.0-RC.1"},{"fixed":"2.12.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-v722-jcv5-w7mc/GHSA-v722-jcv5-w7mc.json"}},{"package":{"name":"github.com/nats-io/nats-server","ecosystem":"Go","purl":"pkg:golang/github.com/nats-io/nats-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-v722-jcv5-w7mc/GHSA-v722-jcv5-w7mc.json"}}],"references":[{"type":"WEB","url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-v722-jcv5-w7mc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33216"},{"type":"WEB","url":"https://github.com/nats-io/nats-server/commit/b5b63cfc35a57075e09c1f57503d31721bed8099"},{"type":"WEB","url":"https://advisories.nats.io/CVE/secnote-2026-05.txt"},{"type":"PACKAGE","url":"https://github.com/nats-io/nats-server"}],"database_specific":{"cwe_ids":["CWE-256"],"github_reviewed":true,"github_reviewed_at":"2026-03-24T21:42:10Z","nvd_published_at":"2026-03-25T20:16:32Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"}]}