Vulnerability · Published Aug 1, 2025 · Assigned by HashiCorp
CVE-2025-6037Vault Certificate Auth Method Did Not Validate Common Name For Non-CA Certificates
Medium 6.8
In plain English
A medium-severity improper certificate validation in Vault from HashiCorp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/hashicorp/vault | 1.20.1 | GHSA-6c5r-4wfc-3mcx |
| Go | github.com/hashicorp/vault | 1.20.1 | GO-2025-3836 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| HashiCorp | Vault | 0 – before 1.20.1 |
| HashiCorp | Vault Enterprise | 0 – before 1.20.1 |
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H