# CVE-2021-38553: HashiCorp Vault underlying database had excessively broad filesystem permissions from v1.4.0 until v1.8.0

- Severity: Medium 4.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- 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.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2021-08-13T15:48:47.000Z
- Modified: 2026-09-08T08:48:21.306Z
- Also known as: GHSA-23fq-q7hc-993r, BIT-VAULT-2021-38553, GO-2022-0620
- Weaknesses: CWE-281
- Assigned by: mitre

## Description

HashiCorp Vault and Vault Enterprise 1.4.0 through 1.7.3 initialized an underlying database file associated with the Integrated Storage feature with excessively broad filesystem permissions. Fixed in Vault and Vault Enterprise 1.8.0.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/hashicorp/vault (Go): from 1.4.0 before 1.8.0
- hashicorp vault: from 1.4.0 before 1.8.0
- vault (Bitnami): from 1.4.0 before 1.8.0

## Every score

- GitHub: 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`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://discuss.hashicorp.com/t/hcsec-2021-20-vault-s-integrated-storage-backend-database-file-may-have-excessively-broad-permissions/28168> (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-38553> (advisory, web)
- <https://github.com/hashicorp/vault> (web)
- <https://github.com/advisories/GHSA-23fq-q7hc-993r> (advisory)

## Sources

- CVE List: [CVE-2021-38553](https://www.cve.org/CVERecord?id=CVE-2021-38553), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-23fq-q7hc-993r](https://github.com/advisories/GHSA-23fq-q7hc-993r), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0620](https://pkg.go.dev/vuln/GO-2022-0620), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-38553](https://nvd.nist.gov/vuln/detail/CVE-2021-38553), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-VAULT-2021-38553](https://osv.dev/vulnerability/BIT-VAULT-2021-38553), Apache-2.0, modified 2026-09-08

---

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