# CVE-2026-33248: NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matching

- Severity: Medium 4.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-03-24T21:51:08.000Z
- Modified: 2026-09-10T03:50:36.808Z
- Also known as: GHSA-3f24-pcvm-5jqc, BIT-NATS-2026-33248, GO-2026-4828
- Related: CGA-mvv8-7788-xf2r
- Weaknesses: CWE-287, CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nats-io nats-server: < 2.11.15; >= 2.12.0-RC.1, < 2.12.6
- github.com/nats-io/nats-server/v2 (Go): before 2.11.15; from 2.12.0-RC.1 before 2.12.6
- github.com/nats-io/nats-server (Go): all versions
- linuxfoundation nats-server: before 2.11.15; from 2.12.0 before 2.12.6
- nats (Bitnami): before 2.11.15; from 2.12.0 before 2.12.6

## Every score

- GitHub_M: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/nats-io/nats-server/security/advisories/GHSA-3f24-pcvm-5jqc> (advisory, vendor-advisory, web)
- <https://advisories.nats.io/CVE/secnote-2026-13.txt> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33248> (advisory, web)
- <https://github.com/nats-io/nats-server> (package)

## Sources

- CVE List: [CVE-2026-33248](https://www.cve.org/CVERecord?id=CVE-2026-33248), CVE Terms of Use, modified 2026-03-26
- GitHub Advisory Database: [GHSA-3f24-pcvm-5jqc](https://github.com/advisories/GHSA-3f24-pcvm-5jqc), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4828](https://pkg.go.dev/vuln/GO-2026-4828), CC-BY-4.0, modified 2026-03-27
- NVD: [CVE-2026-33248](https://nvd.nist.gov/vuln/detail/CVE-2026-33248), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NATS-2026-33248](https://osv.dev/vulnerability/BIT-NATS-2026-33248), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-33248 · Whole record: https://cve.day/CVE-2026-33248.json · Rebuilt by cve.day 2026-11-25T22:59:16.913Z
