# CVE-2020-12757: Improper Input Validation in HashiCorp Vault

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.56%, higher than 76% of CVEs (2026-11-30)
- Published: 2020-06-10T18:46:12.000Z
- Modified: 2026-09-08T08:48:21.162Z
- Also known as: GHSA-75pc-qvwc-jf3g, BIT-VAULT-2020-12757, GO-2022-0804
- Weaknesses: CWE-20, CWE-269
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/hashicorp/vault-plugin-secrets-gcp (Go): before 0.6.2
- hashicorp vault: from 1.4.0 before 1.4.2
- vault (Bitnami): from 1.4.0 before 1.4.2

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://www.hashicorp.com/blog/category/vault/> (advisory, vendor-advisory)
- <https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020> (advisory, release-notes, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-12757> (advisory, web)
- <https://github.com/hashicorp/vault-plugin-secrets-gcp/pull/85> (fix, web)
- <https://github.com/hashicorp/vault-plugin-secrets-gcp/commit/e43d20870c50f7428dead1411debcec075b35fb4> (fix, web)
- <https://github.com/hashicorp/vault/blob/master/CHANGELOG.md> (web)
- <https://www.hashicorp.com/blog/category/vault> (web)
- <https://github.com/advisories/GHSA-75pc-qvwc-jf3g> (advisory)

## Sources

- CVE List: [CVE-2020-12757](https://www.cve.org/CVERecord?id=CVE-2020-12757), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-75pc-qvwc-jf3g](https://github.com/advisories/GHSA-75pc-qvwc-jf3g), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0804](https://pkg.go.dev/vuln/GO-2022-0804), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2020-12757](https://nvd.nist.gov/vuln/detail/CVE-2020-12757), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-VAULT-2020-12757](https://osv.dev/vulnerability/BIT-VAULT-2020-12757), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-12757 · Whole record: https://cve.day/CVE-2020-12757.json · Rebuilt by cve.day 2026-11-25T22:57:52.880Z
