CVE-2025-6037 json
Vault Certificate Auth Method Did Not Validate Common Name For Non-CA Certificates
published 2025-08-01 15 mo ago modified 2026-09-10 1 mo ago also BIT-vault-2025-6037 , EUVD-2025-23391 , GHSA-6c5r-4wfc-3mcx , GO-2025-3836
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/hashicorp/vault 1.20.1
- bitnami vault 1.20.1
- HashiCorp Vault 1.20.1
- HashiCorp Vault Enterprise 1.16.23, 1.18.12, 1.19.7, 1.20.1
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250814T182633-150000.1.98.1
suse advisories SUSE-SU-2025:02912-1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250811T192933-1.1
opensuse advisories openSUSE-SU-2025:15434-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-6037 updated cvss 6.8
github.com/hashicorp/vault: Vault TLS Certificate Authentication Impersonation Vulnerability
-
Red Hat cert-manager Operator for Red Hat OpenShift cert-manager/cert-manager-operator-rhel9, cert-manager/jetstack-cert-manager-rhel9, cert-manager/jetstack-cert-manager-acmesolver-rhel9 Red Hat external secrets operator for Red Hat OpenShift - Tech Preview external-secrets-operator/external-secrets-operator-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Openshift Data Foundation 4 odf4/cephcsi-rhel9, odf4/mcg-cli-rhel9, odf4/odf-cli-rhel9, odf4/mcg-rhel9-operator Red Hat Trusted Artifact Signer rhtas/fulcio-rhel9, rhtas/client-server-rhel9affected: workaround, no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 15 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/vault | <1.20.1 |
1.20.1 |
| bitnami | vault | <1.20.1 |
1.20.1 |
Affected products
- HashiCorp Vault
- HashiCorp Vault Enterprise
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
discuss.hashicorp.com
/t/hcsec-2025-18-vault-certificate-auth-method-did-not-validate-common-name-for-non-ca-certificates/76037
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-6037
advisory, web
-
github.com
/hashicorp/vault
package
-
github.com
/advisories/GHSA-6c5r-4wfc-3mcx
advisory
Sources
- CVE List CVE-2025-6037
- GitHub Advisory GHSA-6c5r-4wfc-3mcx
- NVD CVE-2025-6037
- OSV BIT-vault-2025-6037
- OSV GO-2025-3836
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.