Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Two packages are affected: github.com/nats-io/nats-server/v2 (versions 2.2.0 up to 2.7.4) and github.com/nats-io/nats-streaming-server (0.15.0 up to 0.24.3). In both, a user of the server can supply a crafted tar archive during a JetStream stream restore, letting the server write arbitrary content to an attacker-chosen filename. Upgrade nats-server to 2.7.4 or later and nats-streaming-server to 0.24.3 or later; as a workaround, disable JetStream for untrusted users.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.5 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.023, the 84th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:05 UTC First seen by agentprime
- 31 Oct 2026, 15:05 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-6h3m-36w8-hv68
- OSV: GHSA-6h3m-36w8-hv68
- github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68
- nvd.nist.gov/vuln/detail/CVE-2022-26652
- github.com/nats-io/nats-server/pull/2917
- advisories.nats.io/CVE/CVE-2022-26652.txt
- github.com/nats-io/nats-server
- github.com/nats-io/nats-server/releases
- github.com/nats-io/nats-server/releases/tag/v2.7.4
- github.com/nats-io/nats-streaming-server/releases/tag/v0.24.3
- www.openwall.com/lists/oss-security/2022/03/10/1