CVE-2026-33248
published medium CVSS 3.1 · 4.2NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matching
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nats-io | — | nats-server< 2.11.15 · >= 2.12.0-RC.1, < 2.12.6 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | nats-server | Fixed | 2.12.6-r0 | Package fix record |
| Alpine Linux | v3.23 | nats-server | Fixed | 2.12.6-r0 | Package fix record |
| Alpine Linux | v3.24 | nats-server | Fixed | 2.12.6-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nats-io | nats-server | < 2.11.15 (affected)>= 2.12.0-RC.1, < 2.12.6 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-287 CWE-287: Improper Authentication
- CWE-295 CWE-295: Improper Certificate Validation
References
2Provider assertions
2GitHub_M · cna
NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matching
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f6a88b7ec07d5c94081487812db2ec669c75ae1b67996374c8b71cbe2472722c
- Ingested
- 23 Sep 2026, 09:10:36 UTC
- Source record
- Official CVE record