Home / CVE-2022-29946
CVE-2022-29946: is it exploited, and which versions of github.com/nats-io/nats-server/v2 are affected and fixed?
CVE-2022-29946 is an incorrect authorization vulnerability in github.com/nats-io/nats-server/v2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: github.com/nats-io/nats-server/v2 before 2.8.2 and github.com/nats-io/nats-streaming-server before 0.24.6 (GitHub advisory GHSA-2h2x-8hh2-mfq8). Fixed in 2.8.2 and 0.24.6 (GitHub advisory GHSA-2h2x-8hh2-mfq8). Severity: Medium (6.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2022-29946?
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.
From the CVE record by mitre, last updated October 30, 2024, 14:43 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/nats-io/nats-server/v2 | < 2.8.2 | 2.8.2 | GHSA-2h2x-8hh2-mfq8 |
| Go | github.com/nats-io/nats-streaming-server | < 0.24.6 | 0.24.6 | GHSA-2h2x-8hh2-mfq8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 30, 2024. Summary: NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects.
How severe is CVE-2022-29946?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-29946 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 21, 2024)
- EPSS
- 0.48% probability of exploitation activity in the next 30 days, percentile 42.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-863 Incorrect Authorization
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- April 29, 2022
- Published
- July 11, 2024, 00:00 UTC
- CVE record updated
- October 30, 2024, 14:43 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 04:41 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on July 11, 2024?
- Jul 11, 2024CVE-2024-6392 Image Optimizer, Resizer and CDN – Sirv: missing authorization
- Jul 11, 2024CVE-2024-6468 HashiCorp Vault: improper Check or Handling of Exceptional Conditions
- Jul 11, 2024CVE-2024-6531 This was not a security issue in Bootstrap. Bootstrap’s JavaScript is not intended to sanitize unsafe or intentionally d rejected
- Jul 11, 2024CVE-2024-6485 Bootstrap: cross-site scripting (XSS)
- Jul 11, 2024CVE-2024-6484 This was not a security issue in Bootstrap. Bootstrap’s JavaScript is not intended to sanitize unsafe or intentionally d rejected
- Jul 11, 2024CVE-2024-39553 Juniper Networks Junos OS Evolved: resource exposed to the wrong sphere
- Jul 11, 2024CVE-2024-6681 witmy my-springsecurity-plus: SQL injection
- Jul 11, 2024CVE-2024-39552 Juniper Networks Junos OS: exceptional condition mishandled
Every CVE published on July 11, 2024
Questions about CVE-2022-29946
Is CVE-2022-29946 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.48% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of github.com/nats-io/nats-server/v2 are affected by CVE-2022-29946?
github.com/nats-io/nats-server/v2 before 2.8.2 and github.com/nats-io/nats-streaming-server before 0.24.6, per the GitHub advisory GHSA-2h2x-8hh2-mfq8. The tables above give every range the sources list.
Which version fixes CVE-2022-29946?
2.8.2 and 0.24.6, per the GitHub advisory GHSA-2h2x-8hh2-mfq8. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-29946?
Medium (6.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-29946?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.