CVE-2025-5999
HIGH 7.2CVSS 3.1Hashicorp Vault has Privilege Escalation Vulnerability
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.
- Published
- 1 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Analyzed
- Weakness
- CWE-266
- Also known as
- BIT-vault-2025-5999GHSA-6h4p-m86h-hhghGO-2025-3837
- Sources
- NVDJSONOSV GHSA-6h4p-m86h-hhghJSONOSV GO-2025-3837JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 0.10.4, < 1.16.22 | 1.16.22 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
>= 0.10.4, < 1.20.0 | 1.20.0 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.17.0, < 1.18.11 | 1.18.11 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.19.0, < 1.19.6 | 1.19.6 |
| OSV | Go | github.com/hashicorp/vault | >= 0.10.4, < 1.20.0 | 1.20.0 |
References
- https://discuss.hashicorp.com/t/hcsec-2025-13-vault-root-namespace-operator-may-elevate-token-privileges/76032 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-5999 · ADVISORY
- https://github.com/hashicorp/vault · PACKAGE
- https://github.com/advisories/GHSA-6h4p-m86h-hhgh · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 1 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Aug 2025)