Incorrect Authorization Affecting github.com/nats-io/nats-server/v2/server package, versions <2.14.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMNATSIONATSSERVERV2SERVER-17912787
  • published9 Jul 2026
  • disclosed8 Jul 2026
  • creditkodareef5

Introduced: 8 Jul 2026

CVE-2026-58254  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/nats-io/nats-server/v2/server to version 2.14.3 or higher.

Overview

github.com/nats-io/nats-server/v2/server is an A simple, secure and performant communications system for digital systems, services and devices.

Affected versions of this package are vulnerable to Incorrect Authorization due to insufficient enforcement of destination permission checks for messages arriving through leafnode connections. An attacker can send unauthorized trace events to restricted subjects and disrupt normal message delivery or storage by exploiting this permission bypass.

CVSS Base Scores

version 4.0
version 3.1