Improper Authentication Affecting github.com/nats-io/nats-server/v2/server package, versions <2.11.16>=2.12.0-preview.1 <2.12.6>=2.14.0-RC.1 <2.14.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (30th 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 Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMNATSIONATSSERVERV2SERVER-17901227
  • published9 Jul 2026
  • disclosed8 Jul 2026
  • creditXlabAI Team, Keenan

Introduced: 8 Jul 2026

CVE-2026-58253  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade github.com/nats-io/nats-server/v2/server to version 2.11.16, 2.12.6, 2.14.0 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 Improper Authentication in the parser fast path for inter-server connections, which applies a fast path intended for ordinary client connections to route and leafnode connection types when no_auth_user is enabled. An attacker with network access to a route or leafnode listener can bypass inter-server authentication and obtain the privileges of that connection type by connecting as an unauthenticated peer before the CONNECT authentication flow completes. Exploitation requires no_auth_user to be configured together with route or leafnode listeners.

CVSS Base Scores

version 4.0
version 3.1