Skip to main content
← All vulnerabilities
CVE-2026-33248GO-2026-4828BIT-NATS-2026-33248GHSA-3F24-PCVM-5JQC

NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matching

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.11.15, 2.12.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nats-io nats-server

    fixed in 2.11.15; From 2.12.0-RC.1 · fixed in 2.12.6

  • github.com/nats-io/nats-serverGo

    All versions

  • github.com/nats-io/nats-server/v2Go

    fixed in 2.11.15; From 2.12.0-RC.1 · fixed in 2.12.6

  • github.com/nats-io/nats-server/v2Go

    fixed in 2.11.15

  • github.com/nats-io/nats-server/v2Go

    From 2.12.0-RC.1 · fixed in 2.12.6

References 2

GitHub · nats-io/nats-server

advisories.nats.io