CVE-2020-25816
Token leases could outlive their TTL in HashiCorp Vault
HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.8
HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.
- Record
CVE-2020-25816- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N - CVSS 2.0
- 4.9 Medium
AV:N/AC:M/Au:S/C:P/I:P/A:N - Updated
- 2026-11-02
CVE List No score
HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.
- Record
CVE-2020-25816- Updated
- 2026-11-02
EUVDEUVD-2022-2522 No score
HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.
- Record
EUVD-2022-2522- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-57gg-cj55-q5g2
9.8
Token leases could outlive their TTL in HashiCorp Vault
HashiCorp Vault and Vault Enterprise 1.0 before 1.5.4 have Incorrect Access Control.
- Record
GHSA-57gg-cj55-q5g2- 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 - Weakness
- CWE-613
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-25816
6.8
HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.
- Record
ALPINE-CVE-2020-25816- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-03
OSV
6.8
HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.
- Record
CVE-2020-25816- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVGHSA-57gg-cj55-q5g2
9.8
Token leases could outlive their TTL in HashiCorp Vault
HashiCorp Vault and Vault Enterprise 1.0 before 1.5.4 have Incorrect Access Control.
- Record
GHSA-57gg-cj55-q5g2- 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 - Weakness
- CWE-613
- Updated
- 2026-11-02
OSVBIT-vault-2020-25816 No score
HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.
- Record
BIT-vault-2020-25816- Updated
- 2026-11-02
OSVGO-2024-2514 No score
Token leases could outlive their TTL in HashiCorp Vault in github.com/hashicorp/vault
Token leases could outlive their TTL in HashiCorp Vault in github.com/hashicorp/vault
- Record
GO-2024-2514- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/hashicorp/vaultGo |
1.0.0-beta1 up to 1.5.4 | 1.5.4 |
vaultAlpine:v3.12 |
1.0.0 up to 1.4.7-r0 | 1.4.7-r0 |
vaultAlpine:v3.13 |
1.0.0 up to 1.5.4-r0 | 1.5.4-r0 |
vaultAlpine:v3.14 |
1.0.0 up to 1.5.4-r0 | 1.5.4-r0 |
vaultAlpine:v3.15 |
1.0.0 up to 1.5.4-r0 | 1.5.4-r0 |
vaultAlpine:v3.16 |
1.0.0 up to 1.5.4-r0 | 1.5.4-r0 |
vaultAlpine:v3.17 |
1.0.0 up to 1.5.4-r0 | 1.5.4-r0 |
vaultAlpine:v3.18 |
1.0.0 up to 1.5.4-r0 | 1.5.4-r0 |
vaultBitnami |
1.0.0 up to 1.4.7, 1.5.0 up to 1.5.4 | 1.4.71.5.4 |
github.com/hashicorp/vaultGo |
1.0.0 up to 1.5.4 | 1.5.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-25816 is a medium vulnerability (CVSS 6.8) in Hashicorp Vault, published September 30, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.01%, the 63rd percentile. Fixed in github.com/hashicorp/vault 1.5.4.
References
hashicorp.com/blog/category/vault
github.com/hashicorp/vault/blob/master/CHANGELOG.md
nvd.nist.gov/vuln/detail/CVE-2020-25816
github.com/hashicorp/vault/pull/10020/commits/f192878110fe93eb13da914b2bee28caa7866a29
github.com/advisories/GHSA-57gg-cj55-q5g2
security.alpinelinux.org/vuln/CVE-2020-25816
github.com/hashicorp/vault