{"id":"CVE-2025-54996","aliases":["CVE-2025-54996","GHSA-vf84-mxrq-crqc","BIT-OPENBAO-2025-54996","GO-2025-3857"],"related":[],"kind":"vulnerability","state":"published","title":"OpenBao Root Namespace Operator May Elevate Token Privileges","summary":"OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. In versions 2.3.1 and below, accounts with access to highly-privileged identity entity systems in root namespaces were able to increase their scope directly to the root policy. While the identity system allowed adding arbitrary policies, which in turn could contain capability grants on arbitrary paths, the root policy was restricted to manual generation using unseal or recovery key shares. The global root policy was not accessible from child namespaces. This issue is fixed in version 2.3.2. To workaround this vulnerability, use of denied_parameters in any policy which has access to the affected identity endpoints (on identity entities) may be sufficient to prohibit this type of attack.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. In versions 2.3.1 and below, accounts with access to highly-privileged identity entity systems in root namespaces were able to increase their scope directly to the root policy. While the identity system allowed adding arbitrary policies, which in turn could contain capability grants on arbitrary paths, the root policy was restricted to manual generation using unseal or recovery key shares. The global root policy was not accessible from child namespaces. This issue is fixed in version 2.3.2. To workaround this vulnerability, use of denied_parameters in any policy which has access to the affected identity endpoints (on identity entities) may be sufficient to prohibit this type of attack.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAccounts with access to the highly-privileged identity entity system in the root namespace may increase their scope directly to the `root` policy. While the identity system always allowed adding arbitrary policies, which in turn could contain capability grants on arbitrary paths, the `root` policy is restricted to manual generation using unseal or recovery key shares. The global `root` policy is not accessible from child namespaces.\n\n### Patches\n\nOpenBao v2.3.2 will patch this issue.\n\n### Workarounds\n\nUse of `denied_parameters` in any policy which has access to the affected identity endpoints (on [identity entities](https://openbao.org/api-docs/secret/identity/entity/)) may be sufficient to prohibit this type of attack. \n\n### References\n\nThis issue was disclosed to HashiCorp and is the OpenBao equivalent of the following tickets:\n\n- https://discuss.hashicorp.com/t/hcsec-2025-13-vault-root-namespace-operator-may-elevate-token-privileges/76032\n- https://nvd.nist.gov/vuln/detail/cve-2025-5999","format":"markdown","source":"ghsa"},{"lang":"en","text":"OpenBao Root Namespace Operator May Elevate Token Privileges in github.com/openbao/openbao.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/openbao/openbao before v2.3.2.","format":"markdown","source":"go"},{"lang":"es","text":"OpenBao existe para proporcionar una solución de software que permite gestionar, almacenar y distribuir datos confidenciales, como secretos, certificados y claves. En las versiones 2.3.1 y anteriores, las cuentas con acceso a sistemas de entidades de identidad con privilegios elevados en espacios de nombres raíz podían ampliar su alcance directamente a la política raíz. Si bien el sistema de identidad permitía añadir políticas arbitrarias, que a su vez podían contener concesiones de capacidad en rutas arbitrarias, la política raíz se limitaba a la generación manual mediante recursos compartidos de claves de recuperación o desbloqueo. La política raíz global no era accesible desde los espacios de nombres secundarios. Este problema se solucionó en la versión 2.3.2. Para solucionar esta vulnerabilidad, el uso de \"denegated_parameters\" en cualquier política que tenga acceso a los endpoints de identidad afectados (en entidades de identidad) podría ser suficiente para impedir este tipo de ataque.","source":"nvd"}],"published":"2025-08-08T14:32:42.000Z","modified":"2026-09-08T08:48:16.650Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-266","CWE-269"],"affected":[{"ranges":[{"version":"< 2.3.2","status":"affected"}],"vendor":"openbao","product":"openbao","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"Go","package":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20250806193240-9b0b5d4f345f"}],"ecosystem":"Go","package":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20250806193240-9b0b5d4f345f"},{"type":"semver","introduced":"0.1.0","status":"affected"}],"ecosystem":"Go","package":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","source":"go"},{"ranges":[{"status":"affected","fixed":"2.3.2"}],"vendor":"openbao","product":"openbao","cpe":"cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20250806193240-9b0b5d4f345f"},{"type":"semver","introduced":"0.0.1","status":"affected","fixed":"2.3.2"}],"ecosystem":"Bitnami","package":"openbao","purl":"pkg:bitnami/openbao","source":"bitnami"}],"references":[{"url":"https://github.com/openbao/openbao/security/advisories/GHSA-vf84-mxrq-crqc","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao/pull/1627","tags":["fix","issue-tracking","report","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao/releases/tag/v2.3.2","tags":["article","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54996","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/openbao/openbao/commit/9b0b5d4f345fdfb1065956f042b12cbd86cd6e0f","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2025-13-vault-root-namespace-operator-may-elevate-token-privileges/76032","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/openbao/openbao","tags":["package"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/cve-2025-5999","tags":["advisory"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-08-11T13:53:29.919Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54996","url":"https://www.cve.org/CVERecord?id=CVE-2025-54996","licence":"CVE Terms of Use","modified":"2025-08-11T13:53:47.409Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vf84-mxrq-crqc","url":"https://github.com/advisories/GHSA-vf84-mxrq-crqc","licence":"CC-BY-4.0","modified":"2026-07-27T09:11:26.237Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3857","url":"https://pkg.go.dev/vuln/GO-2025-3857","licence":"CC-BY-4.0","modified":"2026-07-27T09:11:26.237Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54996","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54996","licence":"Public domain","modified":"2026-06-17T09:41:05.070Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-OPENBAO-2025-54996","url":"https://osv.dev/vulnerability/BIT-OPENBAO-2025-54996","licence":"Apache-2.0","modified":"2026-09-08T08:48:16.650Z"}],"updatedAt":"2026-11-25T22:59:02.221Z","epss":{"score":0.00379,"percentile":0.33962,"date":"2026-12-01T12:00:22.000Z"}}