{"id":"CVE-2025-54997","aliases":["CVE-2025-54997","GHSA-xp75-r577-cvhp","BIT-OPENBAO-2025-54997","GO-2025-3858"],"related":[],"kind":"vulnerability","state":"published","title":"OpenBao: Privileged Operator May Execute Code on the Underlying Host","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, some OpenBao deployments intentionally limit privileged API operators from executing system code or making network connections. However, these operators can bypass both restrictions through the audit subsystem by manipulating log prefixes. This allows unauthorized code execution and network access that violates the intended security model. This issue is fixed in version 2.3.2. To workaround, users can block access to sys/audit/* endpoints using explicit deny policies, but root operators cannot be restricted this way.","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, some OpenBao deployments intentionally limit privileged API operators from executing system code or making network connections. However, these operators can bypass both restrictions through the audit subsystem by manipulating log prefixes. This allows unauthorized code execution and network access that violates the intended security model. This issue is fixed in version 2.3.2. To workaround, users can block access to sys/audit/* endpoints using explicit deny policies, but root operators cannot be restricted this way.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nUnder certain threat models, OpenBao operators with privileged API access may not be system administrators and thus normally lack the ability to update binaries or execute code on the system. Additionally, privileged API operators should be unable to perform TCP connections to arbitrary hosts in the environment OpenBao is executing within. The API-driven audit subsystem granted privileged API operators the ability to do both with an attacker-controlled log prefix. Access to these endpoints should be restricted.\n\n### Patches\n\nOpenBao v2.3.2 will patch this issue.\n\n### Workarounds\n\nUsers may deny all access to the `sys/audit/*` interface (with `create` and `update`) permission via policies with explicit deny grants. This would not restrict `root` level operators, however, for whom there are no workarounds. \n\nThis interface allowed arbitrary filesystem and network (write) access as the user the OpenBao server was running as; in conjunction with allowing custom plugins or other system processes this may enable code execution.\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-14-privileged-vault-operator-may-execute-code-on-the-underlying-host/76033\n- https://nvd.nist.gov/vuln/detail/CVE-2025-6000","format":"markdown","source":"ghsa"},{"lang":"en","text":"Privileged OpenBao Operator May Execute Code on the Underlying Host 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, algunas implementaciones de OpenBao limitan intencionalmente la ejecución de código del sistema o el establecimiento de conexiones de red por parte de operadores de API privilegiados. Sin embargo, estos operadores pueden eludir ambas restricciones a través del subsistema de auditoría manipulando los prefijos de registro. Esto permite la ejecución de código no autorizado y el acceso a la red que infringe el modelo de seguridad previsto. Este problema se solucionó en la versión 2.3.2. Como solución alternativa, los usuarios pueden bloquear el acceso a los endpoints sys/audit/* mediante políticas de denegación explícitas, pero los operadores raíz no pueden restringirse de esta forma.","source":"nvd"}],"published":"2025-08-08T14:37:22.000Z","modified":"2026-09-08T08:48:16.778Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-94"],"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-20250806194004-a14053c9679d"}],"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-20250806194004-a14053c9679d"},{"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-20250806194004-a14053c9679d"},{"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-xp75-r577-cvhp","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao/pull/1634","tags":["fix","issue-tracking","report","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2025-14-privileged-vault-operator-may-execute-code-on-the-underlying-host/76033","tags":["not-applicable","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-54997","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6000","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/openbao/openbao/commit/a14053c9679d6e9cf370f00cf933476cda6d84a2","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/openbao/openbao","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-08-11T13:56:31.277Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54997","url":"https://www.cve.org/CVERecord?id=CVE-2025-54997","licence":"CVE Terms of Use","modified":"2025-08-11T13:56:43.049Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xp75-r577-cvhp","url":"https://github.com/advisories/GHSA-xp75-r577-cvhp","licence":"CC-BY-4.0","modified":"2026-07-27T09:11:20.638Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3858","url":"https://pkg.go.dev/vuln/GO-2025-3858","licence":"CC-BY-4.0","modified":"2026-07-27T09:11:20.638Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54997","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54997","licence":"Public domain","modified":"2026-06-17T09:41:05.180Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-OPENBAO-2025-54997","url":"https://osv.dev/vulnerability/BIT-OPENBAO-2025-54997","licence":"Apache-2.0","modified":"2026-09-08T08:48:16.778Z"}],"updatedAt":"2026-11-25T22:59:02.222Z","epss":{"score":0.00463,"percentile":0.41823,"date":"2026-12-01T12:00:22.000Z"}}