{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-6037",
        "assignerOrgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
        "state": "PUBLISHED",
        "assignerShortName": "HashiCorp",
        "dateReserved": "2025-06-12T18:21:50.999Z",
        "datePublished": "2025-08-01T17:52:48.778Z",
        "dateUpdated": "2026-02-26T17:50:09.821Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "platforms": [
                        "64 bit",
                        "32 bit",
                        "x86",
                        "ARM",
                        "MacOS",
                        "Windows",
                        "Linux"
                    ],
                    "product": "Vault",
                    "repo": "https://github.com/hashicorp/vault",
                    "vendor": "HashiCorp",
                    "versions": [
                        {
                            "lessThan": "1.20.1",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "defaultStatus": "unaffected",
                    "platforms": [
                        "64 bit",
                        "32 bit",
                        "x86",
                        "ARM",
                        "MacOS",
                        "Windows",
                        "Linux"
                    ],
                    "product": "Vault Enterprise",
                    "repo": "https://github.com/hashicorp/vault",
                    "vendor": "HashiCorp",
                    "versions": [
                        {
                            "changes": [
                                {
                                    "at": "1.19.7",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "1.18.12",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "1.16.23",
                                    "status": "unaffected"
                                }
                            ],
                            "lessThan": "1.20.1",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>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.</p><br/>"
                        }
                    ],
                    "value": "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."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-122",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-122: Privilege Abuse"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "baseScore": 6.8,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-295",
                            "description": "CWE-295: Improper Certificate Validation",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
                "shortName": "HashiCorp",
                "dateUpdated": "2025-08-01T17:52:48.778Z"
            },
            "references": [
                {
                    "url": "https://discuss.hashicorp.com/t/hcsec-2025-18-vault-certificate-auth-method-did-not-validate-common-name-for-non-ca-certificates/76037"
                }
            ],
            "source": {
                "advisory": "HCSEC-2025-18",
                "discovery": "EXTERNAL"
            },
            "title": "Vault Certificate Auth Method Did Not Validate Common Name For Non-CA Certificates"
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2025-6037",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2025-08-02T03:55:53.917718Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-02-26T17:50:09.821Z"
                }
            }
        ]
    }
}