{"id":"CVE-2026-55775","aliases":["CVE-2026-55775","GHSA-mwr2-wmgp-crj6","BIT-OPENBAO-2026-55775","GO-2026-5517"],"related":[],"kind":"vulnerability","state":"published","title":"OpenBao's System Backend allows Unauthorized Management of the containing Namespace","summary":"OpenBao is an open source identity-based secrets management system. Prior to 2.5.5, OpenBao users granted capabilities on /sys/namespaces/root within a non-root namespace could exploit special handling of the literal root path in namespace canonicalization. The /sys/namespaces/* endpoint family can resolve its containing namespace through a path prefix or X-Vault-Namespace header. ACL checks occurred before root canonicalized to an empty path, causing /sys/namespaces/root to resolve to the system backend's containing namespace and allowing permitted lookups, deletion, locking, or custom metadata changes against that direct containing namespace. The root namespace and arbitrary unrelated namespaces are not affected, and available operations depend on the capabilities granted on the path and subpaths such as /api-lock. This issue is fixed in version 2.5.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenBao is an open source identity-based secrets management system. Prior to 2.5.5, OpenBao users granted capabilities on /sys/namespaces/root within a non-root namespace could exploit special handling of the literal root path in namespace canonicalization. The /sys/namespaces/* endpoint family can resolve its containing namespace through a path prefix or X-Vault-Namespace header. ACL checks occurred before root canonicalized to an empty path, causing /sys/namespaces/root to resolve to the system backend's containing namespace and allowing permitted lookups, deletion, locking, or custom metadata changes against that direct containing namespace. The root namespace and arbitrary unrelated namespaces are not affected, and available operations depend on the capabilities granted on the path and subpaths such as /api-lock. This issue is fixed in version 2.5.5.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA user that is granted namespace management (`/sys/namespaces`) capabilities within a non-root namespace (\"the victim namespace\") can abuse special handling of the literal path `\"root\"` in namespace path canonicalization to manage the victim namespace itself. \n\n### Details\n\nSeveral endpoints under `/sys/namespaces/*` accept a namespace path segment that is canonicalized and then appended to the path of the sys mount's containing namespace (set via path prefix or `X-Vault-Namespace` header) to determine the absolute path of the namespace to operate on.\n\nGiven the special namespace path `\"root\"` canonicalizes to en empty path (`\"\"`), when passed as `/sys/namespaces/root`, the resulting absolute namespace path remains equal to the sys mount's containing namespace. Given ACLs are evaluated before namespace path canonicalization, this allows users with capabilities on `/sys/namespaces/root` within any given namespace to operate on the namespace itself instead.\n\n### Impact\n\nUsers that were granted the required capabilities can abuse this vulnerability to:\n\n- Look up\n- Delete\n- Lock\n- Patch custom metadata\n\nagainst the namespace containing the system backend they can manage `sys/namespaces/root` in. The exact range of operations that can be performed depends on the specific capabilities granted on said path and any sub-paths such as `/api-lock`.\n\nNotably, the root namespace is immutable and cannot be modified, deleted or locked, and is thus unaffected. Also note that users can only abuse this vulnerability to operate on the direct parent or \"containing\" namespace relative to their capabilities, not arbitrary namespaces.\n\n### Patch\n\nThis will be fixed in OpenBao v2.5.5.\n\n### PoC\n\nStart a development server:\n\n```sh\nbao server -dev\n```\n\nCreate a namespace:\n\n```sh\nbao namespace create victim\n```\n\nThis will be the namespace we gain unauthorized management of.\n\nCreate a policy that allows management of namespaces, _inside_ of the victim\nnamespace.\n\n```sh\nbao policy write -namespace=victim namespace-management - <<EOF\npath \"sys/namespaces/*\" {\n\tcapabilities = [\"read\", \"update\", \"patch\", \"delete\"]\n}\nEOF\n```\n\nThen create a token with above policy attached:\n\n```sh\nexport BAO_TOKEN=$(bao token create -namespace=victim -policy=namespace-management -field=token)\n```\n\nOperate on the victim's namespace using the token, for example by outright deleting it:\n\n```sh\nbao namespace delete -namespace=victim root\n```","format":"markdown","source":"ghsa"},{"lang":"en","text":"OpenBao's System Backend allows Unauthorized Management of the containing Namespace in github.com/openbao/openbao","format":"markdown","source":"go"}],"published":"2026-06-19T21:42:06.000Z","modified":"2026-09-25T14:25:33.332Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"LOW"}],"cwes":["CWE-285"],"affected":[{"ranges":[{"version":"< 2.5.5","status":"affected"}],"vendor":"openbao","product":"openbao","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260617103935-d3c1cc64b1ae"}],"ecosystem":"Go","package":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","lastAffected":"2.5.4"}],"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-20260617103935-d3c1cc64b1ae"},{"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":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.5.5"}],"ecosystem":"Bitnami","package":"openbao","purl":"pkg:bitnami/openbao","source":"bitnami"}],"references":[{"url":"https://github.com/openbao/openbao/security/advisories/GHSA-mwr2-wmgp-crj6","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao/pull/3308","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao/pull/3311","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao/commit/216b623cdde161eb7798bd095fc874c2174a4dd2","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao/commit/d3c1cc64b1ae7f9868b5c3e80b8b11671f0d97ae","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao/releases/tag/v2.5.5","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao/releases/tag/v2.6.0","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao","tags":["package"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55775","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-15T17:38:14.127Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55775","url":"https://www.cve.org/CVERecord?id=CVE-2026-55775","licence":"CVE Terms of Use","modified":"2026-09-15T18:02:19.196Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mwr2-wmgp-crj6","url":"https://github.com/advisories/GHSA-mwr2-wmgp-crj6","licence":"CC-BY-4.0","modified":"2026-09-25T14:25:33.332Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5517","url":"https://pkg.go.dev/vuln/GO-2026-5517","licence":"CC-BY-4.0","modified":"2026-09-25T14:25:33.332Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55775","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55775","licence":"Public domain","modified":"2026-09-25T14:23:59.847Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-OPENBAO-2026-55775","url":"https://osv.dev/vulnerability/BIT-OPENBAO-2026-55775","licence":"Apache-2.0","modified":"2026-09-25T14:25:33.332Z"}],"updatedAt":"2026-11-25T22:59:38.558Z","epss":{"score":0.00484,"percentile":0.34359,"date":"2026-11-30T12:00:22.000Z"}}