Security mailing lists by PureSourceCode

CVE-2025-6037

MEDIUM 6.8CVSS 3.1

Hashicorp Vault has Incorrect Validation for Non-CA Certificates

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.

Published
1 Aug 2025
Last modified
10 Sep 2026
Assigned by
security@hashicorp.com
NVD status
Analyzed
Weakness
CWE-295
Also known as
BIT-vault-2025-6037GHSA-6c5r-4wfc-3mcxGO-2025-3836
Sources
NVDJSONOSV GHSA-6c5r-4wfc-3mcxJSONOSV GO-2025-3836JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@hashicorp.com (Secondary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
< 1.16.23 1.16.23
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
< 1.20.1 1.20.1
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.17.0, < 1.18.12 1.18.12
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.19.0, < 1.19.7 1.19.7
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:1.20.0:*:*:*:enterprise:*:*:*
= 1.20.0
OSV Go github.com/hashicorp/vault < 1.20.1 1.20.1

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 1 Aug 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Aug 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.