GitHub Advisoryadvisory · Go
GHSA-6c5r-4wfc-3mcx Hashicorp Vault has Incorrect Validation for Non-CA Certificates
MEDIUM
Official page ↗
- Aliases
- CVE-2025-6037
- Ecosystem
- Go
- Packages
- github.com/hashicorp/vault
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-295
- Reviewed
- 2025-08-01
Affected packages
• Go github.com/hashicorp/vault: < 1.20.1 → fixed in 1.20.1
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.
Related
Alias · CVE (1)
- CVE-2025-6037 Vault and Vault Enterprise (“Vault”) TLS certificate auth method did not correctly validate client certificates when configured with a… vulnerability
Weakness · CWE (1)
- CWE-295 Improper Certificate Validation weakness