NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matching
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass, Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-287 and CWE-295.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| backstage | nats-server | before 2.11.15; 2.12.0-RC.1 to before 2.12.6 | 2.11.15, 2.12.6 | Patch available | CNA |
| — | github.com/nats-io/nats-server/v2 (Go) | before 2.11.15 | 2.11.15 | Patch available | GHSA-3f24-pcvm-5jqc |
| — | github.com/nats-io/nats-server/v2 (Go) | 2.12.0-RC.1 to before 2.12.6 | 2.12.6 | Patch available | GHSA-3f24-pcvm-5jqc |
| — | github.com/nats-io/nats-server (Go) | all versions | — | No fix listed | GHSA-3f24-pcvm-5jqc |
- nats-server Vendorbackstage Affected before 2.11.15; 2.12.0-RC.1 to before 2.12.6 Fixed in 2.11.15, 2.12.6 Patch available CNA
- github.com/nats-io/nats-server/v2 (Go) Vendor— Affected before 2.11.15 Fixed in 2.11.15 Patch available GHSA-3f24-pcvm-5jqc
- github.com/nats-io/nats-server/v2 (Go) Vendor— Affected 2.12.0-RC.1 to before 2.12.6 Fixed in 2.12.6 Patch available GHSA-3f24-pcvm-5jqc
- github.com/nats-io/nats-server (Go) Vendor— Affected all versions Fixed in — No fix listed GHSA-3f24-pcvm-5jqc
Remediation
- Fix · CNA nats-server (nats-io) Fixed in 2.11.15, 2.12.6
- Fix · GHSA-3f24-pcvm-5jqc github.com/nats-io/nats-server/v2 (Go) Fixed in 2.11.15 Advisory →
- Fix · GHSA-3f24-pcvm-5jqc github.com/nats-io/nats-server/v2 (Go) Fixed in 2.12.6 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Multicluster Global Hub | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33248
- 2026-10-03 Alias added: GHSA-3f24-pcvm-5jqc
References
More backstage Nats-server vulnerabilities
- TI-2026-22233 NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsRead CVSS 3.1HIGH 7.5
- TI-2022-11116 NATS nats-server 2.2.0 through 2.7.4 allows directory traversal because of an unintended… CVSS 3.1CRITICAL 9.8
- TI-2020-16319 The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of… CVSS 3.1CRITICAL 9.8
- TI-2026-25637 NATS has MQTT plaintext password disclosure CVSS 3.1HIGH 8.6
- TI-2022-08320 NATS nats-server before 2.7.2 has Incorrect Access Control. CVSS 3.1HIGH 8.8
- TI-2026-41950 NATS Server: Pre-auth server crash via double INFO in leafnode handshake CVSS 3.1HIGH 7.5
Sources
- CVE-2026-33248 · CVE Program
- CVE-2026-33248 · NVD
- FIRST EPSS
- GHSA-3f24-pcvm-5jqc · GitHub Advisory Database · CC BY 4.0
- CVE-2026-33248 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences