{"id":"CVE-2021-36230","aliases":["AZL-9180","EUVD-2021-22850","GHSA-6cgg-f8v8-8rxw"],"status":"published","title":"HashiCorp Terraform Enterprise releases up to v202106-1 did not properly perform authorization...","description":"HashiCorp Terraform Enterprise releases up to v202106-1 did not properly perform authorization checks on a subset of API requests executed using the run token, allowing privilege escalation to organization owner. Fixed in v202107-1.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00954,"percentile":0.61822,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-863"],"published":"2021-07-20T20:53:26Z","modified":"2026-06-17T03:58:33Z","fixes":[{"ecosystem":"Azure Linux:2","package":"terraform","fixed_in":["1.3.2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:2","package":"terraform","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-1"}]}]}],"products":[{"vendor":"hashicorp","product":"terraform"}],"references":[{"url":"https://www.hashicorp.com/blog/category/terraform/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-18-terraform-enterprise-allowed-privilege-escalation-via-run-token/27070","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36230","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6cgg-f8v8-8rxw"}],"sources":{"cve":[{"id":"CVE-2021-36230","description":"HashiCorp Terraform Enterprise releases up to v202106-1 did not properly perform authorization checks on a subset of API requests executed using the run token, allowing privilege escalation to organization owner. Fixed in v202107-1.","status":"published","published":"2021-07-20T20:53:26Z","modified":"2024-08-04T00:54:50.714Z","updated_at":"2026-11-02T14:33:06.32268Z"}],"euvd":[{"id":"EUVD-2021-22850","description":"HashiCorp Terraform Enterprise releases up to v202106-1 did not properly perform authorization checks on a subset of API requests executed using the run token, allowing privilege escalation to organization owner. Fixed in v202107-1.","status":"published","published":"2021-07-20T20:53:26Z","modified":"2024-08-04T00:54:50Z","updated_at":"2026-11-03T03:24:29.877227Z"}],"ghsa":[{"id":"GHSA-6cgg-f8v8-8rxw","title":"HashiCorp Terraform Enterprise releases up to v202106-1 did not properly perform authorization...","description":"HashiCorp Terraform Enterprise releases up to v202106-1 did not properly perform authorization checks on a subset of API requests executed using the run token, allowing privilege escalation to organization owner. Fixed in v202107-1.","status":"published","published":"2022-05-24T19:08:26Z","modified":"2023-01-30T05:00:53Z","cwes":["CWE-863"],"updated_at":"2026-11-02T14:46:17.249643Z"}],"nvd":[{"id":"CVE-2021-36230","description":"HashiCorp Terraform Enterprise releases up to v202106-1 did not properly perform authorization checks on a subset of API requests executed using the run token, allowing privilege escalation to organization owner. Fixed in v202107-1.","status":"published","published":"2021-07-20T21:15:07.7Z","modified":"2026-06-17T03:58:33.42Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:06:56.185362Z"}],"osv":[{"id":"AZL-9180","title":"CVE-2021-36230 affecting package terraform for versions less than 1.3.2-1","description":"HashiCorp Terraform Enterprise releases up to v202106-1 did not properly perform authorization checks on a subset of API requests executed using the run token, allowing privilege escalation to organization owner. Fixed in v202107-1.","status":"published","published":"2021-07-20T21:15:07Z","modified":"2026-04-21T04:34:59.176696Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:11.397546Z"}]}}
