Critical Access Control Vulnerability in NATS-Server: Data Destruction Risk

nats-server Updated 02 Oct 2025

Summary

16/04/2025
N/A
No i
Unrated
Not published

CVE-2025-30215: NATS-Server is a High-Performance server for NATS.io, the cloud and edge native messaging system. Affects nats-server versions 2.10.1-1 – 2.9.19-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

NATS-Server is a high-performance messaging server designed for cloud and edge native applications. It facilitates communication between distributed systems through a lightweight publish-subscribe model. The server supports JetStream, which allows for advanced message streaming and persistence. However, certain versions of NATS-Server have been found to have vulnerabilities in the management of JetStream assets, exposing them to unauthorized access.

Vulnerability Detail

The vulnerability, identified as CVE-2025-30215, affects NATS-Server versions from 2.2.0 up to but not including 2.10.27 and 2.11.1. It arises from insufficient access controls on specific JetStream API requests, allowing users with management permissions in one account to perform administrative actions on JetStream assets in other accounts. This could lead to unauthorized data destruction, although the affected APIs do not allow for the disclosure of stream contents.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, users can restrict access to JetStream management permissions to prevent unauthorized actions until the server is updated. This can be done by reviewing and modifying user roles and permissions within the NATS-Server configuration.

Conclusion

The CVE-2025-30215 vulnerability in NATS-Server poses a significant risk due to inadequate access controls on JetStream API requests. Users are strongly advised to update to the patched versions to mitigate the risk of unauthorized data destruction. Implementing temporary access restrictions can provide additional security until the update is completed.

See every vulnerability recorded for nats-server →

Share this vulnerability

FAQ

NATS-Server versions from 2.2.0 up to but not including 2.10.27 and 2.11.1 are affected.

Users with management permissions can perform administrative actions on JetStream assets in other accounts, including potential data destruction.

No, the affected APIs do not allow for the disclosure of stream contents.

You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.

Restrict access to JetStream management permissions as a temporary workaround until you can update to a secure version.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback