Vulnerabilities

CVE-2025-6013

High 8.1 CVSS 3.1

Description

Vault and Vault Enterprise’s (“Vault”) ldap auth method may not have correctly enforced MFA if username_as_alias 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.

Description as published by the source, in English.

Key facts

Published
2025-08-06
Last modified
2026-06-17
Assigned by
security@hashicorp.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.5 % higher than 40 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
github.com/hashicorp vault (Go) < 1.20.2 Affected
Hashicorp Vault ≥ 1.10.0, ≤ 1.15.16 Affected
Hashicorp Vault ≥ 1.10.0, < 1.20.2 Affected
Hashicorp Vault ≥ 1.16.0, < 1.16.24 Affected
Hashicorp Vault ≥ 1.17.0, < 1.18.13 Affected
Hashicorp Vault ≥ 1.19.0, < 1.19.8 Affected
Hashicorp Vault ≥ 1.20.0, < 1.20.2 Affected

Weakness type

  • CWE-156: Improper Neutralization of Whitespace

    The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as whitespace when they are sent to a downstream component, e.g., s…

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities