Skip to content
OpenAdvisories
Critical · 9.6 CVE-2025-30215 BIT-nats-2025-30215EUVD-2025-11085GHSA-fhg8-qxh5-7q3wGO-2025-3600

NATS-Server Fails to Authorize Certain Jetstream Admin APIs

Published Apr 15, 2025 · Updated Apr 17, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
nats-io nats-server >= 2.2.0, < 2.10.27, >= 2.11.0-RC.1, < 2.11.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nats-server 2.10.27-1 —
Debian 13 nats-server 2.10.27-1 —
Debian 12 nats-server No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 nats-server No fix yet —
Ubuntu 24.04 LTS nats-server No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250422T152923-1.1 openSUSE-SU-2025:15014-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nats-server 2.10.27-r0 —
Alpine v3.23 nats-server 2.10.27-r0 —
Alpine v3.22 nats-server 2.10.27-r0 —
Alpine v3.21 nats-server 2.10.27-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 telegraf 1.31.0-9 —
Azure Linux 2 (CBL-Mariner) telegraf 1.29.4-15 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nats-server 2.12.1-r1 —
Wolfi rolling nats-top +1 0.6.3-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/nats-io/nats-server/v2 >= 2.11.0-RC.1, < 2.11.1 2.11.1 GHSA-fhg8-qxh5-7q3w
Go github.com/nats-io/nats-server/v2 >= 2.2.0, < 2.10.27 2.10.27 GHSA-fhg8-qxh5-7q3w
Go github.com/nats-io/nats-server/v2 >= 2.2.0, < 2.10.27 · >= 2.11.0, < 2.11.1 2.10.27, 2.11.1 GO-2025-3600

Advisories 2

References