Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M
CVE-2026-58251NATS Server: Queue Subscribe Authz Bypass
Medium 6.5
In plain English
A medium-severity security flaw in nats-server from nats-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.0, 2.12.7, and 2.11.16, an authenticated user with subscription deny permissions could bypass a plain subject deny rule by using a queue subscription, because queue-specific deny evaluation could override the plain subject deny result when the queue name itself was not denied. This issue is fixed in versions 2.14.0, 2.12.7, and 2.11.16.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nats-server | no fix listed | DEBIAN-CVE-2026-58251 |
| Debian:13 | nats-server | no fix listed | DEBIAN-CVE-2026-58251 |
| Debian:14 | nats-server | 2.14.1-1 | DEBIAN-CVE-2026-58251 |
| Ubuntu:24.04:LTS | nats-server | no fix listed | UBUNTU-CVE-2026-58251 |
| Ubuntu:25.10 | nats-server | no fix listed | UBUNTU-CVE-2026-58251 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nats-io | nats-server | < 2.11.16>= 2.12.0-RC.1, < 2.12.7 |
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-jx8g-9g95-6322 x_refsource_CONFIRM
- https://github.com/nats-io/nats-server/commit/013586288078def45a6788096924eb4d150db65c x_refsource_MISC
- https://github.com/nats-io/nats-server/commit/79c2f6e9ff87f594596337b6427dda85c38d1fe1 x_refsource_MISC
- https://github.com/nats-io/nats-server/commit/b9ffb63b85e7db3d25a13b2e234f5f7f7c13164d x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.11.16 x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.12.7 x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.14.0 x_refsource_MISC