CVE-2021-40862
CVE-2021-40862 is a high-severity vulnerability in Hashicorp Terraform Enterprise with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-200.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- CVSS v2: 6.5
- EPSS exploit prediction: 1% (57th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-200
- Affected product: Hashicorp Terraform Enterprise
- Published:
- Last modified:
Description
HashiCorp Terraform Enterprise up to v202108-1 contained an API endpoint that erroneously disclosed a sensitive URL to authenticated parties, which could be used for privilege escalation or unauthorized modification of a Terraform configuration. Fixed in v202109-1.
Frequently asked questions
- What is CVE-2021-40862?
- HashiCorp Terraform Enterprise up to v202108-1 contained an API endpoint that erroneously disclosed a sensitive URL to authenticated parties, which could be used for privilege escalation or unauthorized modification of a Terraform configuration. Fixed in v202109-1.
- How severe is CVE-2021-40862?
- CVE-2021-40862 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-40862 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (57th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-40862?
- CVE-2021-40862 affects Hashicorp Terraform Enterprise. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-40862?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-40862 published?
- CVE-2021-40862 was published on 2021-09-15 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:hashicorp:terraform_enterprise:*:*:*:*:*:*:*:*
More vulnerabilities in Hashicorp Terraform Enterprise
- CVE-2022-25374 — High (CVSS 7.5): HashiCorp Terraform Enterprise v202112-1, v202112-2, v202201-1, and v202201-2 were configured to log inbound HTTP…
- CVE-2021-3153 — Medium (CVSS 6.5): HashiCorp Terraform Enterprise up to v202102-2 failed to enforce an organization-level setting that required users…
- CVE-2020-15511 — Medium (CVSS 5.3): HashiCorp Terraform Enterprise up to v202006-1 contained a default signup page that allowed user registration even when…
- CVE-2023-3114 — Medium (CVSS 5.0): Terraform Enterprise since v202207-1 did not properly implement authorization rules for agent pools, allowing the…
All CVEs affecting Hashicorp Terraform Enterprise →
Other CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities
- CVE-2026-27604 — Critical (CVSS 10.0): FOSSBilling is a free, open-source billing and client management system. Starting in version 0.5.4 and prior to version…
- CVE-2026-40965 — Critical (CVSS 10.0): Cloud Foundry UAA versions v76.12.0 through v78.12.0 are vulnerable to a private key exposure. The server contains a…
- CVE-2026-42826 — Critical (CVSS 10.0): Exposure of sensitive information to an unauthorized actor in Azure DevOps allows an unauthorized attacker to disclose…
- CVE-2025-29270 — Critical (CVSS 10.0): Incorrect access control in the realtime.cgi endpoint of Deep Sea Electronics devices DSE855 v1.1.0 to v1.1.26 allows…
- CVE-2025-61481 — Critical (CVSS 10.0): An issue in MikroTik RouterOS v.7.14.2 and SwOS v.2.18 exposes the WebFig management interface over cleartext HTTP by…
- CVE-2025-53624 — Critical (CVSS 10.0): The Docusaurus gists plugin adds a page to your Docusaurus instance, displaying all public gists of a GitHub user.…
Browse all CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities →