Live threats

All CVEs / Linuxfoundation

CVE-2026-33248Linuxfoundation Nats-server

Medium 4.2

Priority
25
CVSS 3.1
4.2
EPSS
—
Auth required
Yes
Published
Mar 25, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287, CWE-295
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

What happens

NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, when using mTLS for client identity, with `verify_and_map` to derive a NATS identity from the client certificate's Subject DN, certain patterns of RDN would not be correctly enforced, allowing for authentication bypass. This does require a valid certificate from a CA already trusted for client certificates, and `DN` naming patterns which the NATS maintainers consider highly unlikely. So this is an unlikely attack. Nonetheless, administrators who have been very sophisticated in their `DN` construction patterns might conceivably be impacted. Versions 2.11.15 and 2.12.6 contain a fix. As a workaround, developers should review their CA issuing practices.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nats-server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/nats-io/nats-server all no fixed version —
Go github.com/nats-io/nats-server all no fixed version —
Go github.com/nats-io/nats-server/v2 < 2.11.15 2.11.15 go get github.com/nats-io/nats-server/v2@v2.11.15
Go github.com/nats-io/nats-server/v2 ≥ 2.12.0-RC.1 < 2.12.6 2.12.6 go get github.com/nats-io/nats-server/v2@v2.12.6
Go github.com/nats-io/nats-server/v2 < 2.11.15 2.11.15 go get github.com/nats-io/nats-server/v2@v2.11.15
Go github.com/nats-io/nats-server/v2 ≥ 2.12.0-RC.1 < 2.12.6 2.12.6 go get github.com/nats-io/nats-server/v2@v2.12.6

Per OSV / GitHub Advisories (GHSA-3f24-pcvm-5jqc, GO-2026-4828). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationnats-server< 2.11.15
linuxfoundationnats-server≥ 2.12.0 < 2.12.6

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.