cve.bz

CVE-2025-30215 nats-io nats-server: Improper Authentication

9.6 criticalEPSS 0.6%Fix available

Critical (9.6) in nats-io nats-server. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/nats-io/nats-server/v2 2.10.27, 2.11.1.

On this page
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.

Severity

CVSS 3.1

9.6 critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-04-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-287 Improper Authentication
CWE-306 Missing Authentication for Critical Functionality
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-30215 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-30215?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-30215?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-30215 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

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

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fhg8-qxh5-7q3wGogithub.com/nats-io/nats-server/v2>=2.11.0-RC.1 <2.11.12.11.1
GHSA-fhg8-qxh5-7q3wGogithub.com/nats-io/nats-server/v2>=2.2.0 <2.10.272.10.27
GO-2025-3600Gogithub.com/nats-io/nats-server/v2>=2.2.0 <2.10.27
>=2.11.0 <2.11.1
2.10.27, 2.11.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12nats-serverno fix listedDEBIAN-CVE-2025-30215
Debian13, 14nats-server2.10.27-1DEBIAN-CVE-2025-30215
Ubuntu24.04:LTS, 25.10nats-serverno fix listedUBUNTU-CVE-2025-30215
openSUSETumbleweedgovulncheck-vulndb0.0.20250422T152923-1.1openSUSE-SU-2025:15014-1
Alpinev3.21, v3.22, v3.23 and 1 morenats-server2.10.27-r0ALPINE-CVE-2025-30215
Azure Linux2telegraf1.29.4-15AZL-60399
Azure Linux3telegraf1.31.0-9AZL-60406

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

The Trusted Profile Analyzer guac container is not affected by this vulnerability as guac is used without NATS and NATS is not installed with the product.

ProductPackageStateAdvisory
Red Hat Trusted Profile Analyzerrhtpa/rhtpa-guac-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-30215.

Attack patterns (CAPEC)

  • CAPEC-12 Choosing Message Identifier Likelihood: High · Severity: High
  • CAPEC-36 Using Unpublished Interfaces or Functionality Likelihood: Medium · Severity: High
  • CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
  • CAPEC-166 Force the System to Reset Values Severity: Medium
  • CAPEC-216 Communication Channel Manipulation
  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-287.

References

Check your stackJSON