---
id: CVE-2023-3518
aliases:
  - GHSA-9rhf-q362-77mx
  - BIT-consul-2023-3518
  - GO-2024-2704
title: >-
  Consul JWT Auth in L7 Intentions Allow for Mismatched Service Identity and JWT
  Providers
summary: >-
  Consul JWT Auth in L7 Intentions Allow for Mismatched Service Identity and JWT
  Providers
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L'
vendor: hashicorp
product: github.com/hashicorp/consul
ecosystem: go
affected:
  - 'github.com/hashicorp/consul >= 1.16.0, < 1.16.1'
patched:
  - github.com/hashicorp/consul 1.16.1
published: '2023-08-09'
updated: '2026-08-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-9rhf-q362-77mx'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-3518'
  - url: >-
      https://discuss.hashicorp.com/t/hcsec-2023-25-consul-jwt-auth-in-l7-intentions-allow-for-mismatched-service-identity-and-jwt-providers/57004
  - url: 'https://github.com/hashicorp/consul'
tags:
  - osv
  - go
epss: 0.00447
epssPercentile: 0.38298
ingestedAt: '2026-08-07T19:14:16.541Z'
---

## Overview

A vulnerability was identified in Consul such that using JWT authentication for service mesh incorrectly allows/denies access regardless of service identities. This vulnerability, CVE-2023-3518, affects Consul 1.16.0 and was fixed in 1.16.1.

## Affected packages

- `github.com/hashicorp/consul >= 1.16.0, < 1.16.1`

## Remediation

Upgrade to a patched release:

- `github.com/hashicorp/consul 1.16.1`
