CVE-2025-30215nats-io nats-server
Critical 9.6
Follow: this CVE · nats-io · nats-io nats-server We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 9.6
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 16, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
What happens
NATS-Server is a High-Performance server for NATS.io, the cloud and edge native messaging system. In versions starting from 2.2.0 but prior to 2.10.27 and 2.11.1, the management of JetStream assets happens with messages in the $JS. subject namespace in the system account; this is partially exposed into regular accounts to allow account holders to manage their assets. Some of the JS API requests were missing access controls, allowing any user with JS management permissions in any account to perform certain administrative actions on any JS asset in any other account. At least one of the unprotected APIs allows for data destruction. None of the affected APIs allow disclosing stream contents. This vulnerability is fixed in v2.11.1 or v2.10.27.
What to do
- Apply the vendor's security update for nats-server.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/nats-io/nats-server/v2 |
≥ 2.11.0-RC.1 < 2.11.1 |
2.11.1 |
go get github.com/nats-io/nats-server/v2@v2.11.1 |
| Go | github.com/nats-io/nats-server/v2 |
≥ 2.2.0 < 2.10.27 |
2.10.27 |
go get github.com/nats-io/nats-server/v2@v2.10.27 |
| Go | github.com/nats-io/nats-server/v2 |
≥ 2.2.0 < 2.10.27 |
2.10.27 |
go get github.com/nats-io/nats-server/v2@v2.10.27 |
| Go | github.com/nats-io/nats-server/v2 |
≥ 2.11.0 < 2.11.1 |
2.11.1 |
go get github.com/nats-io/nats-server/v2@v2.11.1 |
Per OSV / GitHub Advisories (GHSA-fhg8-qxh5-7q3w, GO-2025-3600). Check the version in your lockfile before upgrading.
Affected products
- nats-io · nats-server
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.