{"answers":{"affected":"6 open source packages ship an affected version, including github.com/openbao/openbao and openbao. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-54997 in the wild and no public exploit code.","fix":"Upgrade github.com/openbao/openbao to a fixed version for your release line: 0.0.0-20250806194004-a14053c9679d or 2.3.2.","what":"CVE-2025-54997 is a critical code injection vulnerability in openbao, published on 9 Aug 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-54997 and fix it if it is affected.\n\nWhat it is: CVE-2025-54997 is a critical code injection vulnerability in openbao, published on 9 Aug 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-54997 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/openbao/openbao (Go): affected all versions; fixed in 0.0.0-20250806194004-a14053c9679d\n- github.com/openbao/openbao (Go): affected all versions; fixed in 0.0.0-20250806194004-a14053c9679d\n- github.com/openbao/openbao (Go): affected all versions; fixed in 0.0.0-20250806194004-a14053c9679d\n- github.com/openbao/openbao (Go): affected from 0.1.0; fixed in 2.3.2\n- github.com/openbao/openbao (Go): affected from 0.1.0; fixed in 2.3.2\n- openbao (Bitnami): affected all versions; fixed in 0.0.0-20250806194004-a14053c9679d, 2.3.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-54997/ (Markdown: https://insights.sbomify.com/CVE-2025-54997/index.md)","id":"CVE-2025-54997","markdown":"https://insights.sbomify.com/CVE-2025-54997/index.md","name":"CVE-2025-54997","record":{"aliases":["BIT-openbao-2025-54997","GHSA-xp75-r577-cvhp","GO-2025-3858"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"OpenBao secrets manager","requires_auth":"high_privilege","summary":"Privileged operators can bypass security restrictions to execute code on the host via audit log prefix manipulation in OpenBao.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"openbao","vendor":"openbao"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"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.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OpenBao: Privileged Operator May Execute Code on the Underlying Host","id":"CVE-2025-54997","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":6,"n_references":4,"next":{"headline":"OpenBao Userpass and LDAP User Lockout Bypass","id":"CVE-2025-54998"},"packages":[{"ecosystem":"Bitnami","fixed":["0.0.0-20250806194004-a14053c9679d","2.3.2"],"introduced":["0","0.0.1"],"last_affected":[],"package":"openbao","purl":"pkg:bitnami/openbao","source":"BIT-openbao-2025-54997"},{"ecosystem":"Go","fixed":["0.0.0-20250806194004-a14053c9679d"],"introduced":["0","0.1.0"],"last_affected":[],"package":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","source":"GO-2025-3858"},{"ecosystem":"Go","fixed":["0.0.0-20250806194004-a14053c9679d"],"introduced":["0"],"last_affected":[],"package":"github.com/openbao/openbao","purl":null,"source":"GHSA-xp75-r577-cvhp"},{"ecosystem":"Go","fixed":["0.0.0-20250806194004-a14053c9679d"],"introduced":["0"],"last_affected":[],"package":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","source":"GHSA-xp75-r577-cvhp"},{"ecosystem":"Go","fixed":["2.3.2"],"introduced":["0.1.0"],"last_affected":[],"package":"github.com/openbao/openbao","purl":null,"source":"GHSA-xp75-r577-cvhp"},{"ecosystem":"Go","fixed":["2.3.2"],"introduced":["0.1.0"],"last_affected":[],"package":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","source":"GHSA-xp75-r577-cvhp"}],"prev":{"headline":"OpenBao Root Namespace Operator May Elevate Token Privileges","id":"CVE-2025-54996"},"products":["openbao"],"published":"2025-08-09","related":[{"cvss_score":9.6,"headline":"OpenBao lacks user confirmation for OIDC direct callback mode","id":"CVE-2026-33757","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":9.4,"headline":"OpenBao has Reflected XSS in its OIDC authentication error message","id":"CVE-2026-33758","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":7.5,"headline":"OpenBao Privileged Operator Identity Group Root Escalation","id":"CVE-2025-64761","kev_date_added":null,"published":"2025-11-25"},{"cvss_score":7.5,"headline":"OpenBao vulnerable to denial of service via malicious JSON request processing","id":"CVE-2025-59043","kev_date_added":null,"published":"2025-10-17"},{"cvss_score":7.2,"headline":"OpenBao Root Namespace Operator May Elevate Token Privileges","id":"CVE-2025-54996","kev_date_added":null,"published":"2025-08-09"},{"cvss_score":6.9,"headline":"OpenBao Vulnerable to Unauthenticated Rekey Operation Cancellation","id":"CVE-2025-52894","kev_date_added":null,"published":"2025-06-25"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-08-11","vendors":["openbao"]},"summary":"Privileged operators can bypass security restrictions to execute code on the host via audit log prefix manipulation in OpenBao.","url":"https://insights.sbomify.com/CVE-2025-54997/"}