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.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.3%top 80.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/hashicorp/vault1.20.1GHSA-6c5r-4wfc-3mcx
Gogithub.com/hashicorp/vault1.20.1GO-2025-3836

Affected products (as reported)

VendorProductVersions
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

References