CVE-2020-12757Hashicorp Vault
Critical 9.8 No auth needed
Follow: this CVE · Hashicorp · Hashicorp Vault We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Jun 10, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-269
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly generate GCP Credentials with the default time-to-live lease duration instead of the engine-configured setting. This may lead to generated GCP credentials being valid for longer than intended. Fixed in 1.4.2.
What to do
- Apply the vendor's security update for Vault.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/hashicorp/vault-plugin-secrets-gcp |
< 0.6.2 |
0.6.2 |
go get github.com/hashicorp/vault-plugin-secrets-gcp@v0.6.2 |
| Go | github.com/hashicorp/vault-plugin-secrets-gcp |
< 0.6.2 |
0.6.2 |
go get github.com/hashicorp/vault-plugin-secrets-gcp@v0.6.2 |
Per OSV / GitHub Advisories (GHSA-75pc-qvwc-jf3g, GO-2022-0804). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | vault | ≥ 1.4.0 < 1.4.2 |
| hashicorp | vault | ≥ 1.4.0 < 1.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Vendor Advisory
- www.hashicorp.com Vendor Advisory