{"schema_version":"1.9.0","id":"CVE-2025-6037","published":"2025-08-01T17:52:48.778Z","modified":"2026-08-12T03:51:12.213502047Z","aliases":["BIT-vault-2025-6037","GHSA-6c5r-4wfc-3mcx","GO-2025-3836"],"related":["CGA-85g2-wj5q-mh33","SUSE-SU-2025:02912-1","openSUSE-SU-2025:15434-1"],"summary":"Vault Certificate Auth Method Did Not Validate Common Name 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":[{"ranges":[{"type":"GIT","repo":"https://github.com/hashicorp/vault","events":[{"introduced":"0"},{"fixed":"b403b1a27c8db6038ffefb296d7be0962e08039d"},{"introduced":"6fdd6b59e97d97a9e19b0fb5304bf879c190295e"},{"last_affected":"6fdd6b59e97d97a9e19b0fb5304bf879c190295e"}],"database_specific":{"cpe":["cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","cpe:2.3:a:hashicorp:vault:1.20.0:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"1.20.1"},{"introduced":"1.20.0"},{"last_affected":"1.20.0"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["1.20.0","v1.20.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6037.json"}}],"references":[{"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":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6037.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6037"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"}],"database_specific":{"cna_assigner":"HashiCorp","cwe_ids":["CWE-295"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6037.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"}]}