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

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.

Published: 2025-08-01 Last update: 2025-08-13 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-6004 is rated Low Risk (27.7/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.06%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-6004

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-24 0.05% 0.06% +0.01%
2 2026-05-22 0.06% 0.05% -0.01%
3 2026-05-21 0.06%

Full EPSS history (8 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-6004

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 1.4 [email protected]

Weakness enumeration for CVE-2025-6004

GitHub Security Advisory for CVE-2025-6004

GHSA-qgj7-fmq2-6cc4 · Severity: medium · Ecosystem: go — Hashicorp Vault has Lockout Feature Authentication Bypass

OS Trackers for CVE-2025-6004

vendor priority summary link
alpine CVE-2025-6004: 1 source package rows (vault); 2 state rows across 1 repos (edge-community); fixed 0, open 2. https://security.alpinelinux.org/vuln/CVE-2025-6004
redhat medium https://access.redhat.com/security/cve/CVE-2025-6004

Affected software / configurations for CVE-2025-6004

Vendor Product Version Raw CPE
hashicorp vault >= 1.13.0, < 1.16.23 cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
hashicorp vault >= 1.13.0, < 1.20.1 cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
hashicorp vault >= 1.17.0, < 1.18.12 cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
hashicorp vault >= 1.19.0, < 1.19.7 cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
hashicorp vault 1.20.0 cpe:2.3:a:hashicorp:vault:1.20.0:*:*:*:enterprise:*:*:*

References for CVE-2025-6004

cvelogic Threat Intelligence