{"id":"CVE-2022-40716","aliases":["CVE-2022-40716","GHSA-m69r-9g56-7mv8","BIT-CONSUL-2022-40716","GO-2022-1029"],"related":["CGA-2f56-mhq5-ggwp"],"kind":"vulnerability","state":"published","title":"HashiCorp Consul vulnerable to authorization bypass","summary":"HashiCorp Consul and Consul Enterprise up to 1.11.8, 1.12.4, and 1.13.1 do not check for multiple SAN URI values in a CSR on the internal RPC endpoint, enabling leverage of privileged access to bypass service mesh intentions. Fixed in 1.11.9, 1.12.5, and 1.13.2.\"","summarySource":"cvelist","descriptions":[{"lang":"en","text":"HashiCorp Consul and Consul Enterprise up to 1.11.8, 1.12.4, and 1.13.1 do not check for multiple SAN URI values in a CSR on the internal RPC endpoint, enabling leverage of privileged access to bypass service mesh intentions. Fixed in 1.11.9, 1.12.5, and 1.13.2.\"","source":"cvelist"},{"lang":"en","text":"HashiCorp Consul and Consul Enterprise versions prior to 1.11.9, 1.12.5, and 1.13.2 do not check for multiple SAN URI values in a CSR on the internal RPC endpoint, enabling leverage of privileged access to bypass service mesh intentions. A specially crafted CSR sent directly to Consul’s internal server agent RPC endpoint can include multiple SAN URI values with additional service names. This issue has been fixed in versions 1.11.9, 1.12.5, and 1.13.2. There are no known workarounds.","format":"markdown","source":"ghsa"},{"lang":"en","text":"HashiCorp Consul vulnerable to authorization bypass in github.com/hashicorp/consul","format":"markdown","source":"go"},{"lang":"es","text":"HashiCorp Consul y Consul Enterprise versiones hasta la 1.11.8, 1.12.4, y 1.13.1, no comprueban los valores múltiples de SAN URI en un CSR en el endpoint RPC interno, permitiendo un aprovechamiento del acceso privilegiado para omitir las intenciones de malla de servicio. Corregido en 1.11.9, 1.12.5 y 1.13.2\".","source":"nvd"}],"published":"2022-09-23T00:00:00.000Z","modified":"2026-09-10T03:49:45.765Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-252"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.11.9"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.12.0","status":"affected","fixed":"1.12.5"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.13.0","status":"affected","fixed":"1.13.2"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.11.9"},{"type":"semver","introduced":"1.12.0","status":"affected","fixed":"1.12.5"},{"type":"semver","introduced":"1.13.0","status":"affected","fixed":"1.13.2"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"go"},{"ranges":[{"status":"affected","fixed":"1.11.9"},{"status":"affected","fixed":"1.11.9"},{"status":"affected","introduced":"1.12.0","fixed":"1.12.5"},{"status":"affected","introduced":"1.12.0","fixed":"1.12.5"},{"status":"affected","introduced":"1.13.0","fixed":"1.13.2"},{"status":"affected","introduced":"1.13.0","fixed":"1.13.2"}],"vendor":"hashicorp","product":"consul","cpe":"cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.11.9"},{"type":"semver","introduced":"1.12.0","status":"affected","fixed":"1.12.5"},{"type":"semver","introduced":"1.13.0","status":"affected","fixed":"1.13.2"}],"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","source":"bitnami"}],"references":[{"url":"https://discuss.hashicorp.com","tags":["advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-20-consul-service-mesh-intention-bypass-with-malicious-certificate-signing-request/44628","tags":["advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40716","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/hashicorp/consul/pull/14579","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/consul/commit/8f6fb4f6fe9488b8ec37da71ac503081d7d3760b","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/consul","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC","tags":["web"],"sources":["ghsa","go"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-m69r-9g56-7mv8","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-27T14:54:18.423Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-40716","url":"https://www.cve.org/CVERecord?id=CVE-2022-40716","licence":"CVE Terms of Use","modified":"2025-05-27T14:54:21.059Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m69r-9g56-7mv8","url":"https://github.com/advisories/GHSA-m69r-9g56-7mv8","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:45.765Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-1029","url":"https://pkg.go.dev/vuln/GO-2022-1029","licence":"CC-BY-4.0","modified":"2026-02-04T02:57:33.057Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-40716","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40716","licence":"Public domain","modified":"2026-06-17T05:01:54.057Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CONSUL-2022-40716","url":"https://osv.dev/vulnerability/BIT-CONSUL-2022-40716","licence":"Apache-2.0","modified":"2026-09-08T08:46:00.616Z"}],"updatedAt":"2026-11-25T22:58:15.225Z","epss":{"score":0.01163,"percentile":0.68134,"date":"2026-12-01T12:00:22.000Z"}}