CVE-2025-5999
Description
A privileged Vault operator with write permissions to the root namespace’s identity endpoint could escalate their own or another user’s token privileges to Vault’s root policy. Fixed in Vault Community Edition 1.20.0 and Vault Enterprise 1.20.0, 1.19.6, 1.18.11 and 1.16.22.
Description as published by the source, in English.
Key facts
- Published
- 2025-08-01
- Last modified
- 2026-06-17
- Assigned by
- security@hashicorp.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- Scored by
- security@hashicorp.com
- Probability of exploitation
-
0.5 %
higher than 39 %
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) | ≥ 0.10.4, < 1.20.0 | Affected |
| Hashicorp | Vault | ≥ 0.10.4, < 1.16.22 | Affected |
| Hashicorp | Vault | ≥ 0.10.4, < 1.20.0 | Affected |
| Hashicorp | Vault | ≥ 1.17.0, < 1.18.11 | Affected |
| Hashicorp | Vault | ≥ 1.19.0, < 1.19.6 | Affected |
Weakness type
-
CWE-266: Incorrect Privilege Assignment
A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.
References
Related at Berigo
Articles
-
Varonis: autonomous AI agents were tricked into sharing access keys
Same product
2026-06-09
An AI agent with hardened safety instructions still sent AWS keys and SSH credentials to an external address in Varonis' test.
-
Compromised npm packages steal developer and CI/CD secrets
Same product
2026-06-01
A new supply chain campaign has compromised npm packages under the @redhat-cloud-services namespace, running at install time to harvest secrets.
-
Typosquatted npm packages steal cloud and CI/CD secrets
Same product
2026-05-28
Microsoft has identified 14 malicious npm packages published within four hours, imitating well-known libraries and harvesting cloud credentials.
-
Bitwarden CLI compromised in the same attack chain as Checkmarx
Same product
2026-04-23
Socket has found that Bitwarden's command line tool was compromised, overlapping with the Checkmarx case in attack chain and infrastructure.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.