SB2026111664 - Multiple vulnerabilities in nats-server
Published: November 16, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 7 vulnerabilities.
1) Authentication bypass using an alternate path or channel (CVE-ID: N/A)
CWE-ID: CWE-288 - Authentication Bypass Using an Alternate Path or Channel
CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass client-certificate authentication and gain unauthorized access to read or modify messaging data as a configured identity.
The vulnerability exists due to improper authentication through an alternate channel in NATS Server when listeners share user definitions but use different authentication settings. A remote attacker can submit a known certificate-only username with an empty password to another listener where certificate mapping is disabled to authenticate as that identity without presenting the intended client certificate.
Leafnode, WebSocket and MQTT listeners can provide the alternate authentication path.
2) Input validation error (CVE-ID: N/A)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote privileged user to terminate the server and cause a denial of service beyond the trusted account they administer.
The vulnerability exists due to improper input validation in nats-server's JWT permission handling when processing signed user credentials in operator mode. A remote privileged user can submit a signed user credential containing a malformed permission subject that passes claim validation but triggers a panic during permission installation to cause a denial of service.
3) Incorrect authorization (CVE-ID: N/A)
CWE-ID: CWE-863 - Incorrect Authorization
CVSSv4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to bypass topic deny rules and disclose restricted message contents.
The vulnerability exists due to incorrect authorization in the nats-server MQTT subscription handling when processing subscriptions to internal message subjects. A remote user can subscribe directly to an internal alias not covered by the original topic deny rules to receive messages from a topic they are denied access to.
Access through internal aliases is limited to messages within the same account.
4) Improper Resource Shutdown or Release (CVE-ID: N/A)
CWE-ID: CWE-404 - Improper Resource Shutdown or Release
CVSSv4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to exhaust server resources and cause a denial of service.
The vulnerability exists due to improper resource release in the nats-server JetStream snapshot request handling mechanism when processing delivery subjects that the snapshot notification mechanism cannot use. A remote user can repeatedly submit snapshot requests with invalid delivery subjects to leave background work and associated resources unreleased, exhaust process resources, and prevent some streams from producing further snapshots.
5) Incorrect authorization (CVE-ID: N/A)
CWE-ID: CWE-863 - Incorrect Authorization
CVSSv4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to access messages restricted by queue-specific deny rules and potentially cause limited disruption to message availability.
The vulnerability exists due to incorrect authorization in nats-server subscription permission enforcement when evaluating queue-qualified deny rules during subscription admission, message delivery, and permission refresh. A remote user can use a broader subscription or retain an existing subscription that should have been revoked to receive messages covered by a queue-specific deny.
6) NULL pointer dereference (CVE-ID: N/A)
CWE-ID: CWE-476 - NULL Pointer Dereference
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service by terminating the server process.
The vulnerability exists due to null pointer dereferences in the NATS Server decoding paths when processing MQTT state, internal JetStream responses or sourced counter records with missing or null fields. A remote attacker can supply malformed records or responses to trigger an unrecovered panic and terminate the server process.
Exposure depends on access to the affected internal subjects or source configuration.
7) Authentication bypass using an alternate path or channel (CVE-ID: N/A)
CWE-ID: CWE-288 - Authentication Bypass Using an Alternate Path or Channel
CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass authentication and access or modify resources permitted by the configured no_auth_user account.
The vulnerability exists due to authentication bypass through an alternate path in the pre-CONNECT protocol handling of nats-server when registering the configured no_auth_user without consulting the authorization callout. A remote attacker can establish a connection through this path to gain access with that user's permissions even if the normal authentication flow would reject the connection.
Remediation
Install update from vendor's website.
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-q57r-qh7g-9wgm
- https://github.com/nats-io/nats-server/security/advisories/GHSA-h9r4-8j36-3c2f
- https://github.com/nats-io/nats-server/security/advisories/GHSA-m996-6cph-cjhc
- https://github.com/nats-io/nats-server/security/advisories/GHSA-5xw9-67vx-qppr
- https://github.com/nats-io/nats-server/security/advisories/GHSA-9qgw-9q78-p7xv
- https://github.com/nats-io/nats-server/security/advisories/GHSA-hwrp-2926-g93m
- https://github.com/nats-io/nats-server/security/advisories/GHSA-g9p6-654w-mr9v