CVEfocus › CVE database › CVE-2025-30215

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

CVSS 9.6 CriticalEPSS 0.9% (higher than 56% of CVEs)Published 2025-04-15Updated 2025-04-17Assigner: GitHub_M

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.

CWE-287CWE-306

What to do

Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
1Fix pending
1Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10nats-serverWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-30215
Ubuntu 24.04nats-serverUnder investigationUBUNTU-CVE-2025-30215
Debian 14nats-serverFixed2.10.27-1DEBIAN-CVE-2025-30215
Debian 13nats-serverFixed2.10.27-1DEBIAN-CVE-2025-30215
Debian 12nats-serverFix pendingDEBIAN-CVE-2025-30215
Alpine Linux 3.24nats-serverFixed2.10.27-r0ALPINE-CVE-2025-30215
Alpine Linux 3.23nats-serverFixed2.10.27-r0ALPINE-CVE-2025-30215
Alpine Linux 3.22nats-serverFixed2.10.27-r0ALPINE-CVE-2025-30215
Alpine Linux 3.21nats-serverFixed2.10.27-r0ALPINE-CVE-2025-30215
Go librarygithub.com/nats-io/nats-server/v2Fixed2.11.1GO-2025-3600

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.