# CVE-2026-33248: NATS has mTLS verify\_and\_map authentication bypass via incorrect Subject DN matching

- Priority: **Routine**
- Reason: Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-25 · Modified: 2026-03-26
- Aliases: UBUNTU-CVE-2026-33248, DEBIAN-CVE-2026-33248, CGA-2cv4-4rjc-g82j, CGA-2hmq-4qmv-gxrp, CGA-3pg7-4c8w-q924, CGA-4qq2-vp64-q627, CGA-5mch-j5q7-525f, CGA-5xmj-37fx-h428, CGA-62xp-3726-rqgv, CGA-6588-v2pj-57v4, CGA-67jp-x3hr-xvjm, CGA-7fx9-5278-qr65, CGA-8r97-fjqw-ph8c, CGA-99m2-x49p-qpmm, CGA-c73m-3vp7-h43g, CGA-frw2-wcgg-8xwc, CGA-hvpx-4cxj-c594, CGA-m8ph-78wj-4qx5, CGA-qw26-22qc-3fqx, CGA-rmh2-m24p-hwv3, CGA-v433-36c9-6vj9, CGA-vrvh-cj46-4h55, CGA-wcm7-xh85-q7hg, CGA-wgj3-49cj-wc4r, CGA-x6gv-922g-gmq8, CGA-xvv6-m299-25h8, GHSA-3f24-pcvm-5jqc, BIT-nats-2026-33248, GO-2026-4828, CGA-3ff3-676p-hq98, CGA-474x-vg7c-p2cv, CGA-4784-q234-fqmv, CGA-4jgm-f55v-86wp, CGA-59v7-c45q-372w, CGA-6c7m-v3px-ch24, CGA-6fg5-3hj4-p7c4, CGA-74wp-r634-m5cg, CGA-8q9v-jh3c-r4vg, CGA-9f47-crq3-4f4m, CGA-crrm-7g6j-fc37, CGA-f9vv-rrpv-xxrg, CGA-gw62-2r87-4c8g, CGA-hf9f-xvrv-55wj, CGA-hfr7-ppjv-vj6x, CGA-hm72-7jhq-6wc8, CGA-j833-5fm2-mm96, CGA-jq8x-6qpp-gjh9, CGA-m8pw-973m-3j8w, CGA-phf4-76w8-j6qx, CGA-pphq-hg9q-976w, CGA-q8hr-89cc-3vw7, CGA-qjh7-m26g-3xcf, CGA-rp29-cv55-jrjc, CGA-rr3h-hrcq-q8j4, CGA-vvgh-c6xc-2f4g, CGA-wv5p-r438-c69h, CGA-wx7h-26rv-3jmq, CGA-x428-9cvf-cf25, CGA-x5cj-qpwv-f8cr, CGA-x7xv-wj86-rj2m, CGA-xggm-q75w-82c5, ALPINE-CVE-2026-33248
- Record: https://cvemate.com/vulnerability/CVE-2026-33248 · JSON: https://cvemate.com/vulnerability/CVE-2026-33248/json

## Description

```text
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.
```

## Signals

- CVSS: 4.2 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.155%, percentile 4.81%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 47)

- alpine nats-server (Alpine Linux): ≥ 2.12.0, \< 2.12.6-r0
- chainguard k3s (Chainguard): \< 1.35.2.1-r4
- chainguard k3s-1.32 (Chainguard): \< 1.32.13.1-r7
- chainguard k3s-1.33 (Chainguard): \< 1.33.9.1-r6
- chainguard k3s-static (Chainguard): \< 1.35.2.1-r4
- chainguard k3s-static-1.32 (Chainguard): \< 1.32.13.1-r7
- chainguard k3s-static-1.33 (Chainguard): \< 1.33.9.1-r6
- chainguard kine (Chainguard): \< 0.14.15-r1
- chainguard milvus-2.5 (Chainguard): \< 2.5.27-r4
- chainguard nats (Chainguard): \< 0.3.2-r0
- chainguard nats-fips (Chainguard): \< 0.3.2-r0
- chainguard nats-top (Chainguard): \< 0.6.3-r18
- chainguard nats-top-fips (Chainguard): \< 0.6.3-r16
- chainguard prometheus-nats-exporter (Chainguard): \< 0.19.1-r4
- chainguard prometheus-nats-exporter-fips (Chainguard): \< 0.19.1-r4
- chainguard rke2-runtime-1.31 (Chainguard): All versions (No fix recorded)
- chainguard rke2-runtime-1.32 (Chainguard): All versions (No fix recorded)
- chainguard rke2-runtime-1.33 (Chainguard): \< 1.33.9.2.1-r3
- chainguard rke2-runtime-1.34 (Chainguard): \< 1.34.5.2.1-r3
- chainguard rke2-runtime-1.35 (Chainguard): \< 1.35.2.2.1-r3

## References

- <https://github.com/nats-io/nats-server/security/advisories/GHSA-3f24-pcvm-5jqc>
- <https://advisories.nats.io/CVE/secnote-2026-13.txt>
- <https://ubuntu.com/security/CVE-2026-33248>
- <https://www.cve.org/CVERecord?id=CVE-2026-33248>
- <https://security-tracker.debian.org/tracker/CVE-2026-33248>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33248.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33248>
- <https://github.com/nats-io/nats-server>
- <https://security.alpinelinux.org/vuln/CVE-2026-33248>

---

Data as of 2026-12-05T04:50:56.650Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
