CVE-2025-30215: NATS-Server Fails to Authorize Certain Jetstream Admin APIs

9.6 CVSS

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.

Classification

CVE ID: CVE-2025-30215

CVSS Base Severity: CRITICAL

CVSS Base Score: 9.6

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Problem Types

CWE-306: Missing Authentication for Critical Function CWE-287: Improper Authentication

Affected Products

Vendor: nats-io

Product: nats-server

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.03% (probability of being exploited)

EPSS Percentile: 6.34% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-30215
https://github.com/nats-io/nats-server/security/advisories/GHSA-fhg8-qxh5-7q3w
https://advisories.nats.io/CVE/secnote-2025-01.txt

Timeline