{"cve":"CVE-2025-6037","nvd":{"published":"2025-08-01T18:15:57.300","modified":"2026-06-17T10:01:02.560","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.8},"cwes":["CWE-295"],"references":["https://discuss.hashicorp.com/t/hcsec-2025-18-vault-certificate-auth-method-did-not-validate-common-name-for-non-ca-certificates/76037"],"products":["hashicorp:vault"],"source":"nvd","synced_at":"2026-10-19T22:05:46.678065081+00:00"},"epss":{"cve":"CVE-2025-6037","score":0.00257,"percentile":0.17427,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6c5r-4wfc-3mcx","url":"https://osv.dev/vulnerability/GHSA-6c5r-4wfc-3mcx","summary":"Hashicorp Vault has Incorrect Validation for Non-CA Certificates","modified":"2026-09-10T03:50:26.714448344Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":["<1.20.1"],"fixed":["1.20.1"]}]},{"id":"GO-2025-3836","url":"https://osv.dev/vulnerability/GO-2025-3836","summary":"Hashicorp Vault has Incorrect Validation for Non-CA Certificates in github.com/hashicorp/vault","modified":"2026-02-04T02:43:18.053187Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":["<1.20.1"],"fixed":["1.20.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}