{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-6037","id":"CVE-2025-6037","title":"Vault Certificate Auth Method Did Not Validate Common Name For Non-CA Certificates","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 Commun","descriptionLong":"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.","published":"2025-08-01T17:52:48.778Z","updated":"2026-10-28T02:31:13.628596275Z","reserved":"2025-06-12T18:21:50.999Z","status":"Analyzed","rejected":false,"assigner":"HashiCorp","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"HashiCorp"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"HashiCorp"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"hashicorp.com"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["HashiCorp Vault","HashiCorp Vault Enterprise"],"affectedProducts":[{"vendor":"HashiCorp","product":"Vault","defaultStatus":"unaffected","versions":[{"lessThan":"1.20.1","status":"affected","version":"0","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"]},{"vendor":"HashiCorp","product":"Vault Enterprise","defaultStatus":"unaffected","versions":[{"changes":[{"at":"1.19.7","status":"unaffected"},{"at":"1.18.12","status":"unaffected"},{"at":"1.16.23","status":"unaffected"}],"lessThan":"1.20.1","status":"affected","version":"0","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"]}],"packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":["<1.20.1"],"fixed":["1.20.1"],"advisory":"GHSA-6c5r-4wfc-3mcx"}],"cwes":["CWE-295"],"aliases":["BIT-vault-2025-6037","GHSA-6c5r-4wfc-3mcx","GO-2025-3836"],"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":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6037.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6037","tags":["advisory"]},{"url":"https://github.com/hashicorp/vault","tags":["package"]},{"url":"https://github.com/advisories/GHSA-6c5r-4wfc-3mcx","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00269,"epssPercentile":0.19362,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-6037","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6037","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-6037","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6c5r-4wfc-3mcx","ok":true,"note":"GHSA-6c5r-4wfc-3mcx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-6037","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}