Privilege Escalation Risk in HashiCorp Terraform Enterprise
CVE-2021-40862
Key Information:
- Vendor
Hashicorp
- Status
- CVE ID
- CVE ID:
- CVE-2021-40862
- Vendor
- CVE Published:
- 15 September 2021
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory ↗2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Terraform Enterprise. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (8.8).
What is CVE-2021-40862?
HashiCorp Terraform Enterprise versions up to v202108-1 include an API endpoint that reveals sensitive URLs to authenticated users. This disclosure may allow attackers to exploit the information for privilege escalation or unauthorized modifications to Terraform configurations. The vulnerability was addressed in version v202109-1, which corrected the API functionality to prevent this sensitive information leak.
References
More Hashicorp Vulnerabilities
Cross-Tenant Credential Reuse in HashiCorp Terraform MCP Server
Denial of Service Vulnerability in HashiCorp Vault and Vault Enterprise
Excessive Resource Consumption Vulnerability in HashiCorp Vault
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction