Vulnerability · Published Aug 1, 2025 · Assigned by HashiCorp

CVE-2025-6004Vault Userpass and LDAP User Lockout Bypass

Medium 5.3

In plain English

A medium-severity security flaw in Vault from HashiCorp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 59.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Vault and Vault Enterprise’s (“Vault”) user lockout feature could be bypassed for Userpass and LDAP authentication methods. Fixed in Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/hashicorp/vault1.20.1GHSA-qgj7-fmq2-6cc4
Gogithub.com/hashicorp/vault1.20.1GO-2025-3840

Affected products (as reported)

VendorProductVersions
HashiCorp Vault 1.13.0 – before 1.20.1
HashiCorp Vault Enterprise 1.13.0 – before 1.20.1

Weakness: CWE-307 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References