CVE-2025-30215

Critical

Description

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.

SeverityCritical
CVSS9.6
Exploit probability—
ProductGithub.com/nats-io/nats-server/v2
PublishedApr 16, 2025
First seenApr 16, 2025

How to fix

Update
  • github.com/nats-io/nats-server/v22.11.1, 2.10.27 or later

Affected products

ProductAffected versionsFixed in
github.com/nats-io/nats-server/v2Go2.11.0-RC.1 ≤ v < 2.11.1, 2.2.0 ≤ v < 2.10.27, 2.11.0 ≤ v < 2.11.12.11.1, 2.10.27

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.