# CVE-2021-38554: Improper Removal of Sensitive Information Before Storage or Transfer in HashiCorp Vault

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/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): 0.91%, higher than 61% of CVEs (2026-12-01)
- Published: 2021-08-13T15:45:50.000Z
- Modified: 2026-09-10T03:49:07.198Z
- Also known as: GHSA-6239-28c2-9mrm, BIT-VAULT-2021-38554, GO-2022-0632
- Related: CGA-r8mq-qj3f-7fpc
- Weaknesses: CWE-212
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/hashicorp/vault (Go): before 1.6.6; from 1.7.0 before 1.7.4
- hashicorp vault: before 1.8.0
- vault (Bitnami): before 1.8.0

## Every score

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

## References

- <https://discuss.hashicorp.com/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166> (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-38554> (advisory, web)
- <https://github.com/hashicorp/vault> (package)
- <https://github.com/hashicorp/vault/releases/tag/v1.6.6> (web)
- <https://github.com/hashicorp/vault/releases/tag/v1.7.4> (web)
- <https://github.com/advisories/GHSA-6239-28c2-9mrm> (advisory)

## Sources

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

---

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