{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-33248","id":"CVE-2026-33248","title":"NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matching","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 C","descriptionLong":"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.","published":"2026-03-25T20:18:28.923Z","updated":"2026-10-28T02:31:02.586841994Z","reserved":"2026-03-18T02:42:27.509Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["nats-io nats-server"],"affectedProducts":[{"vendor":"nats-io","product":"nats-server","defaultStatus":null,"versions":[{"version":"< 2.11.15","status":"affected"},{"version":">= 2.12.0-RC.1, < 2.12.6","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","purl":"pkg:golang/github.com/nats-io/nats-server/v2","ranges":["<2.11.15",">=2.12.0-RC.1 <2.12.6"],"fixed":["2.11.15","2.12.6"],"advisory":"GHSA-3f24-pcvm-5jqc"},{"ecosystem":"Go","name":"github.com/nats-io/nats-server","purl":"pkg:golang/github.com/nats-io/nats-server","ranges":["all versions"],"fixed":[],"advisory":"GHSA-3f24-pcvm-5jqc"}],"cwes":["CWE-287","CWE-295"],"aliases":["BIT-nats-2026-33248","GHSA-3f24-pcvm-5jqc","GO-2026-4828"],"references":[{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-3f24-pcvm-5jqc","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://advisories.nats.io/CVE/secnote-2026-13.txt","tags":["x_refsource_MISC","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33248.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33248","tags":["advisory"]},{"url":"https://github.com/nats-io/nats-server","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00149,"epssPercentile":0.04135,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-33248","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33248","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-33248","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3f24-pcvm-5jqc","ok":true,"note":"GHSA-3f24-pcvm-5jqc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-33248","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}