CVE-2026-135255: Consul vulnerable to authorization bypass in HTTP resource API

Published Dec 2, 2026
·
Updated

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

1 affected component
HashiCorp Consul>=1.17.0<=2.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade hashicorp/consul to a version that resolves this vulnerability.

    Fixed in 2.1.1
  2. Upgrade

    Upgrade hashicorp/consul to a version that resolves this vulnerability.

    Fixed in 1.21.20

Event History

Dec 2, 2026
CVE Published
via MITRE·10:14 PM
Data Sourced
via MITRE·10:14 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203