CVE-2025-30215

NATS-Server Fails to Authorize Certain Jetstream Admin APIs

State
Published
Severity
9.6 Critical
Published
Apr 15, 2025
Updated
Apr 17, 2025
Reserved
Mar 18, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.6 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:HGitHub_M

Weaknesses

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

Affected Products

ProductVersions
nats-servernats-io
  • >= 2.2.0, < 2.10.27Affected
  • >= 2.11.0-RC.1, < 2.11.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.