{"id":"CVE-2025-6037","published":"2025-08-01T17:52:48Z","modified":"2026-02-26T17:50:09Z","title":"Vault Certificate Auth Method Did Not Validate Common Name For Non-CA Certificates","vendor":"HashiCorp","product":"Vault","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00269,"percentile":0.19485,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2025-18-vault-certificate-auth-method-did-not-validate-common-name-for-non-ca-certificates/76037","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":3.9},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Vault","versions":["< 1.20.1"]},{"vendor":"HashiCorp","product":"Vault Enterprise","versions":["< 1.20.1"]}],"fixedVersions":[{"vendor":"HashiCorp","product":"Vault Enterprise","versions":["1.19.7","1.18.12","1.16.23"]}],"capec":[{"id":"CAPEC-122","name":"Privilege Abuse"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-08-02T03:55:53.917718Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","vulnerableRanges":["<1.20.1"],"patched":["1.20.1"],"from":["GHSA-6c5r-4wfc-3mcx","GO-2025-3836"],"provenance":"source"}],"summary":{"text":"HashiCorp Vault's TLS certificate auth method fails to correctly validate client certificates when a non-CA certificate is configured as a trusted certificate, which is an improper certificate validation flaw. An attacker who can reach the Vault service and holds a privileged (authenticated) position, with a user interaction involved in the attack, may be able to craft a malicious certificate to impersonate another user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:43Z"},"euvd":{"id":"EUVD-2025-23391","exploited":false,"provenance":"source"}}