Medium severity · published Mar 10, 2022
CVE-2022-26652
NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams
6.5
CVSS
2.3%
EPSS
No
On KEV
Description
NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.3% · higher than 84% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NS
Nats Streaming Server · Nats
0.15.0 before 0.24.3 · source: NVD
NA
Nats-server · Linuxfoundation
2.2.0 before 2.7.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-26652
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-26652
Mailing List
http://www.openwall.com/lists/oss-security/2022/03/10/1
Vendor Advisory
https://advisories.nats.io/CVE/CVE-2022-26652.txt
Release Notes
https://github.com/nats-io/nats-server/releases
Third Party Advisory
https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68
More from Nats-server
9.8
CVE-2022-28357
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
9.8
CVE-2020-26892
The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled
8.8
CVE-2026-58253
NATS Server: Route API Auth Bypass
8.8
CVE-2022-24450
NATS nats-server before 2.7.2 has Incorrect Access Control
7.5
CVE-2026-58208
NATS Server: MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is Enabled
