{"id":"CVE-2025-5999","published":"2025-08-01T17:38:58Z","modified":"2025-08-01T18:08:59Z","title":"Vault Root Namespace Operator May Elevate Token Privileges","vendor":"HashiCorp","product":"Vault","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00719,"percentile":0.49658,"provenance":"source"},"cwes":[{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2025-13-vault-root-namespace-operator-may-elevate-token-privileges/76032","tags":[]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":9.93},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Vault","versions":[">= 0.10.4, < 1.20.0"]},{"vendor":"HashiCorp","product":"Vault Enterprise","versions":[">= 0.10.4, < 1.20.0"]}],"fixedVersions":[{"vendor":"HashiCorp","product":"Vault Enterprise","versions":["1.19.6","1.18.11","1.16.22"]}],"capec":[{"id":"CAPEC-233","name":"Privilege Escalation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-08-01T18:08:49.600194Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","vulnerableRanges":[">=0.10.4, <1.20.0"],"patched":["1.20.0"],"from":["GHSA-6h4p-m86h-hhgh","GO-2025-3837"],"provenance":"source"}],"summary":{"text":"The flaw is in HashiCorp Vault, where a privileged operator with write permissions to the root namespace's identity endpoint can escalate privileges. The weakness is classified as incorrect privilege assignment. An attacker who already holds a privileged operator account with write access to the root namespace's identity endpoint, and who is reaching Vault over the network, can raise their own or another user's token to Vault's root policy. No user interaction is needed, but the attacker must be authenticated as a privileged operator first.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:21Z"},"euvd":{"id":"EUVD-2025-23388","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hashicorp-vault-cve-2025-5999","children":[{"from":"CVE-2025-5999","to":"CVE-2025-54996","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-vf84-mxrq-crqc","via":"reference","url":"https://nvd.nist.gov/vuln/detail/cve-2025-5999"},{"kind":"osv-related","provenance":"source","id":"GO-2025-3857","via":"reference","url":"https://nvd.nist.gov/vuln/detail/cve-2025-5999"}]}],"packageHistory":[{"cve":"CVE-2025-3879","published":"2025-05-02","fixed":"1.19.1","kev":false},{"cve":"CVE-2025-4166","published":"2025-05-02","fixed":"1.19.3","kev":false,"link":{"from":"CVE-2025-4166","to":"CVE-2025-5999","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.19.3","toFixed":"1.20.0","daysApart":91}]}},{"cve":"CVE-2025-4656","published":"2025-06-25","fixed":"1.20.0","kev":false},{"cve":"CVE-2025-5999","published":"2025-08-01","fixed":"1.20.0","kev":false},{"cve":"CVE-2025-6000","published":"2025-08-01","fixed":"1.20.1","kev":false},{"cve":"CVE-2025-6004","published":"2025-08-01","fixed":"1.20.1","kev":false},{"cve":"CVE-2025-6011","published":"2025-08-01","fixed":"1.20.1","kev":false}],"package":"Go:github.com/hashicorp/vault"}}