Skip to main content

CVE-2026-88021: CWE-185: Incorrect Regular Expression in HashiCorp Consul

0
High
VulnerabilityCVE-2026-88021cvecve-2026-88021cwe-185
Published: 09/10/2026 (09/10/2026, 18:58:26 UTC)
Source: CVE Database V5
Vendor/Project: HashiCorp
Product: Consul

Description

HashiCorp Consul and Consul Enterprise contain an authorization bypass vulnerability in the Connect service mesh due to incorrect escaping of certain characters in service names, namespaces, and partitions. This causes Envoy RBAC rules to match more broadly than intended, potentially allowing unauthorized service access. The issue is fixed in Consul 2.0.4 and Consul Enterprise versions 1.21.18, 1.22.12, and 2.0.4.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Affected software

HashiCorp

Consul

Affected versions
>=1.9.0 <2.0.4

HashiCorp

Consul Enterprise

Affected versions
>=1.9.0 <1.21.18
GitHub Actionsmore threats →cve
Consul
pkg:github/Consul
Affected versions
>=1.9.0 <2.0.4
GitHub Actionsmore threats →cve
Consul Enterprise
pkg:github/Consul Enterprise
Affected versions
>=1.9.0 <1.21.18

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 19:20:27 UTC

Technical Analysis

CVE-2026-88021 is an authorization bypass vulnerability in HashiCorp Consul and Consul Enterprise's Connect service mesh. The vulnerability arises because Consul does not properly escape certain characters in service names, namespaces, and partitions when generating Envoy RBAC rules to enforce Connect intentions. This incorrect regular expression handling causes the authorization rules to match more broadly than intended, potentially allowing a service to access destinations it is not authorized to reach. The vulnerability is identified as CWE-185 (Incorrect Regular Expression).

Potential Impact

An attacker with the ability to define or influence service names, namespaces, or partitions could exploit this vulnerability to bypass intended authorization restrictions in the Connect service mesh. This could lead to unauthorized access to services, impacting confidentiality (high impact), with limited integrity impact and no availability impact as per the CVSS vector.

Mitigation Recommendations

This vulnerability is fixed in Consul 2.0.4 and Consul Enterprise versions 1.21.18, 1.22.12, and 2.0.4. Users should upgrade to these versions or later to remediate the issue. No other mitigation or temporary workaround is indicated in the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
HashiCorp
Date Reserved
2026-09-09T19:40:49.639Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa3023cd29482f9ab044adc

Added to database: 09/10/2026, 19:17:16 UTC

Last enriched: 09/10/2026, 19:20:27 UTC

Last updated: 09/10/2026, 19:21:28 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses