Skip to content

x/vulndb: potential Go vuln in github.com/hashicorp/vault: GHSA-6c5r-4wfc-3mcx #3836

@GoVulnBot

Description

@GoVulnBot

Advisory GHSA-6c5r-4wfc-3mcx references a vulnerability in the following Go modules:

Module
github.com/hashicorp/vault

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.

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/hashicorp/vault
      versions:
        - fixed: 1.20.1
      vulnerable_at: 1.20.0
summary: Hashicorp Vault has Incorrect Validation for Non-CA Certificates in github.com/hashicorp/vault
cves:
    - CVE-2025-6037
ghsas:
    - GHSA-6c5r-4wfc-3mcx
references:
    - advisory: https://github.com/advisories/GHSA-6c5r-4wfc-3mcx
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-6037
    - web: https://discuss.hashicorp.com/t/hcsec-2025-18-vault-certificate-auth-method-did-not-validate-common-name-for-non-ca-certificates/76037
source:
    id: GHSA-6c5r-4wfc-3mcx
    created: 2025-08-01T22:01:14.54083219Z
review_status: UNREVIEWED

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions