{"schema_version":"1.7.3","id":"GHSA-6c5r-4wfc-3mcx","published":"2025-08-01T18:31:19Z","modified":"2026-02-04T02:34:29.779943Z","aliases":["BIT-vault-2025-6037","CVE-2025-6037","GO-2025-3836"],"related":["CGA-85g2-wj5q-mh33"],"summary":"Hashicorp Vault has Incorrect Validation for Non-CA Certificates","details":"Vault and Vault Enterprise (“Vault”) TLS certificate auth method did not correctly validate client certificates when configured with a non-CA certificate as [+trusted certificate+|https://developer.hashicorp.com/vault/api-docs/auth/cert#certificate]. In this configuration, an attacker may be able to craft a malicious certificate that could be used to impersonate another user. Fixed in Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23.","affected":[{"package":{"name":"github.com/hashicorp/vault","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/vault"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-6c5r-4wfc-3mcx/GHSA-6c5r-4wfc-3mcx.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6037"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2025-18-vault-certificate-auth-method-did-not-validate-common-name-for-non-ca-certificates/76037"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"}],"database_specific":{"cwe_ids":["CWE-295"],"github_reviewed":true,"github_reviewed_at":"2025-08-01T21:09:19Z","nvd_published_at":"2025-08-01T18:15:57Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"}]}