# CVE-2021-32923: Invalid session token expiration

- Severity: High 7.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- 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.38%, higher than 72% of CVEs (2026-12-01)
- Published: 2021-06-03T10:38:26.000Z
- Modified: 2026-09-10T03:49:15.100Z
- Also known as: GHSA-38j9-7pp9-2hjw, BIT-VAULT-2021-32923, GO-2022-0623
- Related: CGA-v8p9-4843-p8j6
- Weaknesses: CWE-613
- Assigned by: mitre

## Description

HashiCorp Vault and Vault Enterprise allowed the renewal of nearly-expired token leases and dynamic secret leases (specifically, those within 1 second of their maximum TTL), which caused them to be incorrectly treated as non-expiring during subsequent use. Fixed in 1.5.9, 1.6.5, and 1.7.2.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/hashicorp/vault (Go): from 1.7.0 before 1.7.2; from 1.6.0 before 1.6.5; from 0.10.0 before 1.5.9
- hashicorp vault: from 0.10.0 before 1.5.9; from 1.6.0 before 1.6.5; from 1.7.0 before 1.7.2
- vault (Bitnami): from 0.10.0 before 1.5.9; from 1.6.0 before 1.6.5; from 1.7.0 before 1.7.2

## Every score

- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.hashicorp.com/blog/category/vault/> (advisory, product, vendor-advisory)
- <https://discuss.hashicorp.com/t/hcsec-2021-15-vault-renewed-nearly-expired-leases-with-incorrect-non-expiring-ttls/24603> (advisory, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202207-01> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32923> (advisory, web)
- <https://www.hashicorp.com/blog/category/vault> (web)
- <https://github.com/advisories/GHSA-38j9-7pp9-2hjw> (advisory)

## Sources

- CVE List: [CVE-2021-32923](https://www.cve.org/CVERecord?id=CVE-2021-32923), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-38j9-7pp9-2hjw](https://github.com/advisories/GHSA-38j9-7pp9-2hjw), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0623](https://pkg.go.dev/vuln/GO-2022-0623), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2021-32923](https://nvd.nist.gov/vuln/detail/CVE-2021-32923), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-VAULT-2021-32923](https://osv.dev/vulnerability/BIT-VAULT-2021-32923), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-32923 · Whole record: https://cve.day/CVE-2021-32923.json · Rebuilt by cve.day 2026-11-25T22:58:01.633Z
