Live threats

All CVEs / Linuxfoundation

CVE-2022-26652Linuxfoundation Nats-server

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
Yes
Published
Mar 10, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nats-server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/nats-io/nats-server all no fixed version —
Go github.com/nats-io/nats-server/v2 ≥ 2.2.0 < 2.7.4 2.7.4 go get github.com/nats-io/nats-server/v2@v2.7.4
Go github.com/nats-io/nats-server/v2 ≥ 2.2.0 < 2.7.4 2.7.4 go get github.com/nats-io/nats-server/v2@v2.7.4
Go github.com/nats-io/nats-streaming-server ≥ 0.15.0 < 0.24.3 0.24.3 go get github.com/nats-io/nats-streaming-server@v0.24.3
Go github.com/nats-io/nats-streaming-server ≥ 0.15.0 < 0.24.3 0.24.3 go get github.com/nats-io/nats-streaming-server@v0.24.3

Per OSV / GitHub Advisories (GO-2022-0351, GHSA-6h3m-36w8-hv68). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationnats-server≥ 2.2.0 < 2.7.4
natsnats_streaming_server≥ 0.15.0 < 0.24.3

Official sources

References

Links published by the sources. Open them with care.