CVE-2022-26652
MEDIUM 6.5CVSS 3.1Arbitrary file write in nats-server
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.
- Published
- 10 Mar 2022
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- BIT-nats-2022-26652GHSA-6h3m-36w8-hv68GO-2022-0351
- Sources
- NVDJSONOSV GHSA-6h3m-36w8-hv68JSONOSV GO-2022-0351JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | nats-servercpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* |
>= 2.2.0, < 2.7.4 | 2.7.4 |
| NVD | nats | nats_streaming_servercpe:2.3:a:nats:nats_streaming_server:*:*:*:*:*:*:*:* |
>= 0.15.0, < 0.24.3 | 0.24.3 |
| OSV | Go | github.com/nats-io/nats-server/v2 | >= 2.2.0, < 2.7.4 | 2.7.4 |
| OSV | Go | github.com/nats-io/nats-streaming-server | >= 0.15.0, < 0.24.3 | 0.24.3 |
| OSV | Go | github.com/nats-io/nats-server | all versions |
References
- http://www.openwall.com/lists/oss-security/2022/03/10/1 · Mailing List, Third Party Advisory, WEB
- https://advisories.nats.io/CVE/CVE-2022-26652.txt · Vendor Advisory, WEB
- https://github.com/nats-io/nats-server/releases · Release Notes, Third Party Advisory, WEB
- https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-26652 · ADVISORY
- https://github.com/nats-io/nats-server/pull/2917 · WEB, FIX
- https://github.com/nats-io/nats-server · PACKAGE
- https://github.com/nats-io/nats-server/releases/tag/v2.7.4 · WEB
- https://github.com/nats-io/nats-streaming-server/releases/tag/v0.24.3 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 10 Mar 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Mar 2022)