What’s Vulnerable › Vulnerabilities
CVE-2021-36230
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-07-20 · updated 2026-06-17
- Weakness: CWE-863
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.
Affected products
- HashiCorp Terraform: before 202107-1 — fixed in 202107-1
How to fix
Upgrade to a fixed version: HashiCorp Terraform 202107-1. Check the vendor advisory for mitigations.
References
- https://discuss.hashicorp.com/t/hcsec-2021-18-terraform-enterprise-allowed-privilege-escalation-via-run-token/27070
- https://www.hashicorp.com/blog/category/terraform/
- https://discuss.hashicorp.com/t/hcsec-2021-18-terraform-enterprise-allowed-privilege-escalation-via-run-token/27070
- https://www.hashicorp.com/blog/category/terraform/
Get alerted when CVE-2021-36230 or the next vulnerability affects your stack