What’s Vulnerable › Vulnerabilities
CVE-2026-33248: NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matching
- Severity: medium (CVSS 4.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-25 · updated 2026-06-17
- Weakness: CWE-287
Description
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.
Affected products
- nats-io nats-server: before 2.11.15; from 2.12.0 before 2.12.6 — fixed in 2.11.15, 2.12.6
How to fix
Upgrade to a fixed version: nats-io nats-server 2.11.15, 2.12.6. Check the vendor advisory for mitigations.
References
- https://advisories.nats.io/CVE/secnote-2026-13.txt
- https://github.com/nats-io/nats-server/security/advisories/GHSA-3f24-pcvm-5jqc
Get alerted when CVE-2026-33248 or the next vulnerability affects your stack