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

Status: published. Published: 2026-12-02. Updated: 2026-12-02.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- HashiCorp / Consul: ≥ 1.17.0; < 2.1.1 (affected, semver). Source: CNA: HashiCorp; platforms: 64 bit, 32 bit, x86, ARM, MacOS, Windows, Linux
- HashiCorp / Consul Enterprise: ≥ 1.17.0; < 2.1.1 (affected, semver); unaffected at 1.21.20; affected at 1.22.0. Source: CNA: HashiCorp; platforms: 64 bit, 32 bit, x86, ARM, MacOS, Windows, Linux

## Severity and prioritization

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N; source: CNA: HashiCorp

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N; source: NVD: security@hashicorp.com

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-420

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://discuss.hashicorp.com/t/hcsec-2026-61-consul-vulnerable-to-authorization-bypass-in-http-resource-api/78817 (CNA: HashiCorp)

- https://discuss.hashicorp.com/t/hcsec-2026-61-consul-vulnerable-to-authorization-bypass-in-http-resource-api/78817 (security@hashicorp.com)

## Provenance

- CNA: HashiCorp: https://www.cve.org/CVERecord?id=CVE-2026-135255; retrieved 2026-12-02; source updated 2026-12-02

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-135255; retrieved 2026-12-03; source updated 2026-12-02

Revision: c8f6d5b89813ffdc62245352e58b30c37d70bf6fe57d54ebac9f4e4e55f2e842

Canonical: https://y2.dev/cve/CVE-2026-135255

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.