Every CVE Search/ Get API key

CVE-2022-28357

NATS nats-server allows directory traversal via unintended path to a management action

9.8 CriticalFix available

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

1.16%Up 1.1 points since Sep 19, 2023
90%50%10%1%

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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
github.com/nats-io/nats-server
Go
2.2.0 up to 2.7.4
2.7.4
github.com/nats-io/nats-server
Go
All versions None known
github.com/nats-io/nats-server/v2
Go
2.2.0 up to 2.7.4
2.7.4
nats-server
Ubuntu: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-server
Ubuntu:25.10
All versions, plus listed versions
2.10.24-12.10.27-1
None known
nats-server
Ubuntu:26.10
All versions, plus listed versions
2.10.27-1build12.14.1-12.14.3-1
None known
nats-server
Ubuntu: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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

MoveEnter Open