{"cve":"CVE-2022-29946","nvd":{"published":"2024-07-11T21:15:10.480","modified":"2026-06-17T04:41:00.913","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3},"cwes":[],"references":["https://github.com/nats-io/advisories/blob/main/CVE/CVE-2022-29946.txt","https://github.com/nats-io/advisories/blob/main/CVE/CVE-2022-29946.txt"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:52:42.518321223+00:00"},"epss":{"cve":"CVE-2022-29946","score":0.00478,"percentile":0.41283,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2h2x-8hh2-mfq8","url":"https://osv.dev/vulnerability/GHSA-2h2x-8hh2-mfq8","summary":"NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects","modified":"2024-10-30T18:50:03Z","packages":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","purl":"pkg:golang/github.com/nats-io/nats-server/v2","ranges":["<2.8.2"],"fixed":["2.8.2"]},{"ecosystem":"Go","name":"github.com/nats-io/nats-streaming-server","purl":"pkg:golang/github.com/nats-io/nats-streaming-server","ranges":["<0.24.6"],"fixed":["0.24.6"]}]},{"id":"GO-2024-2980","url":"https://osv.dev/vulnerability/GO-2024-2980","summary":"NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects in github.com/nats-io/nats-server","modified":"2026-03-03T04:55:32.473187Z","packages":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server","purl":"pkg:golang/github.com/nats-io/nats-server","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","purl":"pkg:golang/github.com/nats-io/nats-server/v2","ranges":["<2.8.2"],"fixed":["2.8.2"]},{"ecosystem":"Go","name":"github.com/nats-io/nats-streaming-server","purl":"pkg:golang/github.com/nats-io/nats-streaming-server","ranges":["<0.24.6"],"fixed":["0.24.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}