{"id":"GHSA-v722-jcv5-w7mc","revision":"9b89abcfa1e94a4b86eb3fdde6ab578b","records":[{"revision":"9b89abcfa1e94a4b86eb3fdde6ab578b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-v722-jcv5-w7mc","aliases":["BIT-nats-2026-33216","CVE-2026-33216","GO-2026-4836"],"title":"NATS has MQTT plaintext password disclosure","description":"### 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.","state":0,"publishedAt":"2026-03-24T21:42:10+00:00","modifiedAt":"2026-09-10T03:50:41.1228864+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.11.15"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.12.0-RC.1"},{"kind":"fixed","version":"2.12.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/nats-io/nats-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-v722-jcv5-w7mc","https://nvd.nist.gov/vuln/detail/CVE-2026-33216","https://github.com/nats-io/nats-server/commit/b5b63cfc35a57075e09c1f57503d31721bed8099","https://advisories.nats.io/CVE/secnote-2026-05.txt","https://github.com/nats-io/nats-server"],"sourceUrl":"https://github.com/advisories/GHSA-v722-jcv5-w7mc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v722-jcv5-w7mc","identifiers":["GHSA-v722-jcv5-w7mc","BIT-nats-2026-33216","CVE-2026-33216","GO-2026-4836"]},"retained":false,"historicalAffected":[]}],"coverage":[]}