CVE-2026-135255

Consul vulnerable to authorization bypass in HTTP resource API

Published Dec 2, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
HashiCorp Consul Community Edition and Consul Enterprise 1.17.0 up to 2.1.0 are vulnerable to an authorization bypass in the HTTP resource API. The {{block_endpoints}} and {{allow_write_http_from}} agent settings were not applied to this API, which may allow a client to write or delete resources from network locations that the operator intended to restrict. This vulnerability (CVE-2026-135255) is fixed in Consul Community Edition 2.1.1 and Consul Enterprise 2.1.1 and 1.21.20.

Analysis

AI-generated

Technical impact

HashiCorp Consul Community Edition and Consul Enterprise versions up to 2.1.0 contain a flaw in the HTTP resource API that does not honor the block_endpoints and allow_write_http_from configuration settings. A client that can reach the API can write or delete resources on network locations that the operator intended to protect, leading to potential integrity compromise of configuration data or network resources.

Affected Systems

Affected products are HashiCorp Consul Community Edition and Consul Enterprise. Versions from 1.17.0 up to 2.1.0 are impacted. The vulnerability is fixed in Consul Community Edition 2.1.1 and in Consul Enterprise 2.1.1 as well as 1.21.20.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate risk. The EPSS score of <1% suggests that exploitation is unlikely but not impossible. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is any client with network access to the HTTP resource API; no local privilege escalation is required.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to Consul Community Edition 2.1.1 or newer and Consul Enterprise 2.1.1 or 1.21.20 or newer.
  • Verify that the block_endpoints and allow_write_http_from settings are correctly configured and actively in use after the upgrade.
  • Restrict network exposure of the HTTP resource API so that only trusted clients can communicate with it.

Generated by OpenCVE AI on December 3, 2026 at 15:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp consul
Hashicorp consul Enterprise
Vendors & Products Hashicorp
Hashicorp consul
Hashicorp consul Enterprise
Type Values Removed Values Added
Description HashiCorp Consul Community Edition and Consul Enterprise 1.17.0 up to 2.1.0 are vulnerable to an authorization bypass in the HTTP resource API. The {{block_endpoints}} and {{allow_write_http_from}} agent settings were not applied to this API, which may allow a client to write or delete resources from network locations that the operator intended to restrict. This vulnerability (CVE-2026-135255) is fixed in Consul Community Edition 2.1.1 and Consul Enterprise 2.1.1 and 1.21.20.
Title Consul vulnerable to authorization bypass in HTTP resource API
Weaknesses CWE-420
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-420

    Unprotected Alternate Channel

Sources

Status
PUBLISHED
Assigner
HashiCorp
Published
Updated
Dec 2, 2026, 10:14 PM
Reserved
Nov 23, 2026, 3:44 PM
Status
Received
Published
Dec 2, 2026, 11:18 PM
Modified
Dec 2, 2026, 11:18 PM