CVE-2025-5999 Details
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.
A vulnerability exists in HashiCorp Vault that allows a privileged operator with write access to the root namespace's identity endpoint to escalate token privileges to Vault's root policy. This issue affects Vault Community Edition versions 0.10.4 prior to 1.19.5 and Vault Enterprise versions 0.10.4 prior to 1.19.5, 1.18.11, and 1.16.21. The vulnerability is rooted in the normalization of policy names and inadequate input validation, enabling the operator to manipulate an entity's token privileges for the token's remaining validity period. This issue is confined to the root namespace and does not impact entities in administrative namespaces or HCP Vault Dedicated.
Users are advised to upgrade to Vault Community Edition 1.20.0 or Vault Enterprise 1.20.0, 1.19.6, 1.18.11, or 1.16.22. For general upgrade guidance, refer to the 'Upgrading Vault' documentation. Alternatively, Sentinel EGP policies can be employed to monitor and manage assigned privileges.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://discuss.hashicorp.com/t/hcsec-2025-13-vault-root-namespace-operator-may-elevate-token-privileges/76032 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-266 | Incorrect Privilege Assignment | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hashicorp vault | >= 0.10.4, < 1.16.22 >= 0.10.4, < 1.20.0 >= 1.17.0, < 1.18.11 >= 1.19.0, < 1.19.6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 13, 2025 | Initial Analysis | [email protected] |
| Aug 1, 2025 | New CVE Received | [email protected] |