{"id":"GHSA-8r68-gvr4-jh7j","revision":"70ccf71cb8b449ff9129267e28b88d95","records":[{"revision":"70ccf71cb8b449ff9129267e28b88d95","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-8r68-gvr4-jh7j","aliases":["BIT-nats-2026-33219","CVE-2026-33219","GO-2026-4831"],"title":"NATS  is vulnerable to pre-auth DoS through WebSockets client service","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 offers a WebSockets client service, used in deployments where browsers are the NATS clients.\n\n### Problem Description\n\nA malicious client which can connect to the WebSockets port can cause unbounded memory use in the nats-server before authentication; this requires sending a corresponding amount of data.\n\nThis is a milder variant of [NATS-advisory-ID 2026-02](https://advisories.nats.io/CVE/secnote-2026-02.txt) (aka CVE-2026-27571; GHSA-qrvq-68c2-7grw).\nThat earlier issue was a compression bomb, this vulnerability is not. Attacks against this new issue thus require significant client bandwidth.\n\n### Affected Versions\n\nAny version before v2.12.6 or v2.11.15\n\n### Workarounds\n\nDisable websockets if not required for project deployment.","state":0,"publishedAt":"2026-03-24T21:46:31+00:00","modifiedAt":"2026-09-10T03:50:38.2452977+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:U/C:N/I:N/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-8r68-gvr4-jh7j","https://nvd.nist.gov/vuln/detail/CVE-2026-33219","https://advisories.nats.io/CVE/secnote-2026-02.txt","https://advisories.nats.io/CVE/secnote-2026-11.txt","https://github.com/advisories/GHSA-qrvq-68c2-7grw","https://github.com/nats-io/nats-server"],"sourceUrl":"https://github.com/advisories/GHSA-8r68-gvr4-jh7j","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8r68-gvr4-jh7j","identifiers":["GHSA-8r68-gvr4-jh7j","BIT-nats-2026-33219","CVE-2026-33219","GO-2026-4831"]},"retained":false,"historicalAffected":[]}],"coverage":[]}