CVE-2026-135255: Consul vulnerable to authorization bypass in HTTP resource API
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 {{blockendpoints}} and {{allowwritehttpfrom}} 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
hashicorp/consulto a version that resolves this vulnerability.Fixed in 2.1.1 - Upgrade
Upgrade
hashicorp/consulto a version that resolves this vulnerability.Fixed in 1.21.20
Event History
Frequently Asked Questions
Which deployments are exposed to this bypass?
Consul Community Edition and Consul Enterprise versions from 1.17.0 through 2.1.0 are affected. Exposure applies where operators rely on the block_endpoints or allow_write_http_from agent settings to restrict access to the HTTP resource API.
What does an attacker need to exploit the issue?
An attacker needs network access to the HTTP resource API from a location that the operator intended to restrict using block_endpoints or allow_write_http_from. No authentication, privileges, or user interaction are required according to the provided severity vector.
What actions can exploitation enable?
A client may be able to write or delete resources through the HTTP resource API despite the configured network-location restrictions.
Which versions contain the fix?
The issue is fixed in Consul Community Edition 2.1.1 and Consul Enterprise 2.1.1 and 1.21.20.