Skip to content

CVE-2025-6037 Vault Certificate Auth Method Did Not Validate Common Name For Non-CA Certificates

MediumCVSS 6.8 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
hashicorp github.com/hashicorp/vault(Go) < 1.20.1 1.20.1
hashicorp github.com/hashicorp/vault < 1.20.1 1.20.1
hashicorp Vault Enterprise < 1.19.7 1.19.7
hashicorp github.com/hashicorp/vault < 1.16.23 1.16.23
hashicorp github.com/hashicorp/vault >= 1.17.0, < 1.18.12 1.18.12
hashicorp github.com/hashicorp/vault >= 1.19.0, < 1.19.7 1.19.7
hashicorp github.com/hashicorp/vault = 1.20.0 No fix listed

References