{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-135255",
        "assignerOrgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
        "state": "PUBLISHED",
        "assignerShortName": "HashiCorp",
        "dateReserved": "2026-11-23T15:44:13.995Z",
        "datePublished": "2026-12-02T22:14:16.495Z",
        "dateUpdated": "2026-12-02T22:14:16.495Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "platforms": [
                        "64 bit",
                        "32 bit",
                        "x86",
                        "ARM",
                        "MacOS",
                        "Windows",
                        "Linux"
                    ],
                    "product": "Consul",
                    "repo": "https://github.com/hashicorp/consul",
                    "vendor": "HashiCorp",
                    "versions": [
                        {
                            "lessThan": "2.1.1",
                            "status": "affected",
                            "version": "1.17.0",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "defaultStatus": "unaffected",
                    "platforms": [
                        "64 bit",
                        "32 bit",
                        "x86",
                        "ARM",
                        "MacOS",
                        "Windows",
                        "Linux"
                    ],
                    "product": "Consul Enterprise",
                    "repo": "https://github.com/hashicorp/consul",
                    "vendor": "HashiCorp",
                    "versions": [
                        {
                            "changes": [
                                {
                                    "at": "1.21.20",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "1.22.0",
                                    "status": "affected"
                                }
                            ],
                            "lessThan": "2.1.1",
                            "status": "affected",
                            "version": "1.17.0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "This issue was reported to HashiCorp by lichoin."
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>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.</p><br/>"
                        }
                    ],
                    "value": "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."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-1",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-1: Accessing Functionality Not Properly Constrained by ACLs"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "baseScore": 5.3,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-420",
                            "description": "CWE-420: Unprotected Alternate Channel",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
                "shortName": "HashiCorp",
                "dateUpdated": "2026-12-02T22:14:16.495Z"
            },
            "references": [
                {
                    "url": "https://discuss.hashicorp.com/t/hcsec-2026-61-consul-vulnerable-to-authorization-bypass-in-http-resource-api/78817"
                }
            ],
            "source": {
                "advisory": "HCSEC-2026-62",
                "discovery": "EXTERNAL"
            },
            "title": "Consul vulnerable to authorization bypass in HTTP resource API"
        }
    }
}