{"id":"CVE-2025-6037","aliases":["BIT-vault-2025-6037","GHSA-6c5r-4wfc-3mcx","GO-2025-3836"],"url":"https://o3.security/vulnerability/CVE-2025-6037","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.","published":"2025-08-01T17:52:48.778Z","modified":"2026-07-15T02:16:02.396164720Z","cvss":{"score":6.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","fixedVersion":"1.20.1"}],"fix":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T02:16:02.396164720Z"}}