CVE-2022-28357
NATS nats-server allows directory traversal via unintended path to a management action
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2022-28357- 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 - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-28357- Updated
- 2026-11-02
EUVDEUVD-2023-2604 No score
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.
- Record
EUVD-2023-2604- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vpjc-4jcv-jc29
9.8
NATS nats-server allows directory traversal via unintended path to a management action
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.
- Record
GHSA-vpjc-4jcv-jc29- 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 - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGHSA-vpjc-4jcv-jc29
9.8
NATS nats-server allows directory traversal via unintended path to a management action
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.
- Record
GHSA-vpjc-4jcv-jc29- 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 - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-28357
9.8
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.
- Record
UBUNTU-CVE-2022-28357- 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 - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-28357- Updated
- 2026-11-02
OSVGO-2023-2066 No score
NATS nats-server allows directory traversal via unintended path to a management action in github.com/nats-io/nats-server
NATS nats-server allows directory traversal via unintended path to a management action in github.com/nats-io/nats-server
- Record
GO-2023-2066- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/nats-io/nats-serverGo |
2.2.0 up to 2.7.4 | 2.7.4 |
github.com/nats-io/nats-serverGo |
All versions | None known |
github.com/nats-io/nats-server/v2Go |
2.2.0 up to 2.7.4 | 2.7.4 |
nats-serverUbuntu:24.04:LTS |
All versions, plus listed versions 2.9.19-1build12.10.3-12.10.4-12.10.7-12.10.7-1ubuntu0.12.10.7-1ubuntu0.22.10.7-1ubuntu0.3 |
None known |
nats-serverUbuntu:25.10 |
All versions, plus listed versions 2.10.24-12.10.27-1 |
None known |
nats-serverUbuntu:26.10 |
All versions, plus listed versions 2.10.27-1build12.14.1-12.14.3-1 |
None known |
nats-serverUbuntu:Pro:26.04:LTS |
All versions, plus listed versions 2.10.27-12.10.27-1build12.10.27-1ubuntu0.26.04.1~esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-28357 is a critical vulnerability (CVSS 9.8) in Linuxfoundation Nats-server, published September 19, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.16%, the 67th percentile. Fixed in github.com/nats-io/nats-server 2.7.4.
References
github.com/nats-io/nats-server/releases
advisories.nats.io/CVE/CVE-2022-28357.txt
nvd.nist.gov/vuln/detail/CVE-2022-28357
github.com/nats-io/nats-server/releases/tag/v2.7.4
github.com/advisories/GHSA-vpjc-4jcv-jc29
github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28357.json
github.com/nats-io/nats-server
ubuntu.com/security/CVE-2022-28357
cve.org/CVERecord?id=CVE-2022-28357