# CVE-2022-28357: NATS nats-server allows directory traversal via unintended path to a management action

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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.16%, higher than 68% of CVEs (2026-12-01)
- Published: 2023-09-19T00:00:00.000Z
- Modified: 2026-06-17T04:38:25.830Z
- Also known as: GHSA-vpjc-4jcv-jc29, GO-2023-2066
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

NATS nats-server 2.2.0 through 2.7.4 allows directory traversal because of an unintended path to a management action from a management account.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/nats-io/nats-server (Go): from 2.2.0 before 2.7.4; all versions
- github.com/nats-io/nats-server/v2 (Go): from 2.2.0 before 2.7.4
- linuxfoundation nats-server: from 2.2.0 up to 2.7.4

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nats-io/nats-server/releases> (release-notes)
- <https://advisories.nats.io/CVE/CVE-2022-28357.txt> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-28357> (advisory)
- <https://github.com/nats-io/nats-server> (package)
- <https://github.com/nats-io/nats-server/releases/tag/v2.7.4> (web)
- <https://github.com/advisories/GHSA-vpjc-4jcv-jc29> (advisory)

## Sources

- CVE List: [CVE-2022-28357](https://www.cve.org/CVERecord?id=CVE-2022-28357), CVE Terms of Use, modified 2024-09-25
- GitHub Advisory Database: [GHSA-vpjc-4jcv-jc29](https://github.com/advisories/GHSA-vpjc-4jcv-jc29), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2023-2066](https://pkg.go.dev/vuln/GO-2023-2066), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-28357](https://nvd.nist.gov/vuln/detail/CVE-2022-28357), Public domain, modified 2026-06-17

---

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