Vault and Vault Enterprise’s (“Vault”) ldap auth method may not have correctly enforced MFA if usernameasalias was set to true and a user had multiple CNs that are equal but with leading or trailing spaces. Fixed in Vault Community Edition 1.20.2 and Vault Enterprise 1.20.2, 1.19.8, 1.18.13, and 1.16.24.
{
"severity": "MODERATE",
"cwe_ids": [
"CWE-156"
],
"github_reviewed_at": "2025-08-06T18:14:06Z",
"nvd_published_at": "2025-08-06T10:15:35Z",
"github_reviewed": true
}