{"id":"CVE-2022-29946","aliases":["GHSA-2h2x-8hh2-mfq8","GO-2024-2980"],"url":"https://o3.security/vulnerability/CVE-2022-29946","summary":"NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects","details":"NATS.io NATS Server before 2.8.2 and Streaming Server before 0.24.6 could allow a remote attacker to bypass security restrictions, caused by the failure to enforce negative user permissions in one scenario. By using a queue subscription on the wildcard, an attacker could exploit this vulnerability to allow denied subjects.","published":"2024-07-11T21:15:10Z","modified":"2026-04-10T04:47:25.901275Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},"epss":{"score":0.00478,"percentile":0.40235,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","fixedVersion":"2.8.2"},{"ecosystem":"Go","name":"github.com/nats-io/nats-streaming-server","fixedVersion":"0.24.6"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/nats-io/advisories/blob/main/CVE/CVE-2022-29946.txt"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29946"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2h2x-8hh2-mfq8"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-10T04:47:25.901275Z"}}