# CVE-2022-24450: Incorrect Authorization in NATS nats-server

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.33%, higher than 71% of CVEs (2026-12-01)
- Published: 2022-02-08T01:14:48.000Z
- Modified: 2026-06-17T04:31:51.953Z
- Also known as: GHSA-g6w6-r76c-28j7, BIT-NATS-2022-24450, GO-2022-0307
- Weaknesses: CWE-862, CWE-863
- Assigned by: mitre

## Description

NATS nats-server before 2.7.2 has Incorrect Access Control. Any authenticated user can obtain the privileges of the System account by misusing the "dynamically provisioned sandbox accounts" feature.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/nats-io/nats-server/v2 (Go): from 2.0.0 before 2.7.2
- github.com/nats-io/nats-streaming-server (Go): from 0.15.0 before 0.24.1
- github.com/nats-io/nats-server (Go): all versions
- linuxfoundation nats-server: from 2.0.0 before 2.7.2
- nats nats_streaming_server: from 0.15.0 before 0.24.1
- nats (Bitnami): from 2.0.0 before 2.7.2

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/nats-io/nats-server/releases/tag/v2.7.2> (release-notes, third-party-advisory, web)
- <https://advisories.nats.io/CVE/CVE-2022-24450.txt> (vendor-advisory, web)
- <https://github.com/nats-io/nats-server/security/advisories/GHSA-g6w6-r76c-28j7> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24450> (advisory, web)
- <https://github.com/nats-io/nats-server> (package)

## Sources

- CVE List: [CVE-2022-24450](https://www.cve.org/CVERecord?id=CVE-2022-24450), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-g6w6-r76c-28j7](https://github.com/advisories/GHSA-g6w6-r76c-28j7), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0307](https://pkg.go.dev/vuln/GO-2022-0307), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-24450](https://nvd.nist.gov/vuln/detail/CVE-2022-24450), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NATS-2022-24450](https://osv.dev/vulnerability/BIT-NATS-2022-24450), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2022-24450 · Whole record: https://cve.day/CVE-2022-24450.json · Rebuilt by cve.day 2026-11-25T22:58:09.549Z
