CVE-2026-55775
JSON

2.3low

OpenBao's System Backend allows Unauthorized Management of the containing Namespace

Severity
2.3low CVSS:4.0 by GitHub_M
Exploit likelihood
0.48% (higher than 34% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mwr2-wmgp-crj6BIT-OPENBAO-2026-55775GO-2026-5517

Description

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.

Affected

Product or packageVersionsReported by
openbao openbao< 2.5.5CVE List
github.com/openbao/openbao (Go)before 0.0.0-20260617103935-d3c1cc64b1ae, from 0.1.0 up to 2.5.4, from 0.1.0GitHub Advisory Database, Go Vulnerability Database
openbao (Bitnami)before 2.5.5Bitnami Vulnerability Database

All scores

GitHub_M2.3low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Bitnami Vulnerability Databaselow rating

Classification

CWE-285

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Summary

A 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.

Details

Several 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.

Given 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.

Impact

Users that were granted the required capabilities can abuse this vulnerability to:

  • Look up
  • Delete
  • Lock
  • Patch custom metadata

against 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.

Notably, 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.

Patch

This will be fixed in OpenBao v2.5.5.

PoC

Start a development server:

bao server -dev

Create a namespace:

bao namespace create victim

This will be the namespace we gain unauthorized management of.

Create a policy that allows management of namespaces, inside of the victim namespace.

bao policy write -namespace=victim namespace-management - <<EOF
path "sys/namespaces/*" {
	capabilities = ["read", "update", "patch", "delete"]
}
EOF

Then create a token with above policy attached:

export BAO_TOKEN=$(bao token create -namespace=victim -policy=namespace-management -field=token)

Operate on the victim's namespace using the token, for example by outright deleting it:

bao namespace delete -namespace=victim root
Go Vulnerability Database

OpenBao's System Backend allows Unauthorized Management of the containing Namespace in github.com/openbao/openbao

References

Sources

SourceRecordLicence
CVE ListCVE-2026-55775 changed 2026-09-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-mwr2-wmgp-crj6 changed 2026-09-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5517 changed 2026-09-25CC-BY-4.0
NVDCVE-2026-55775 changed 2026-09-25Public domain
Bitnami Vulnerability DatabaseBIT-OPENBAO-2026-55775 changed 2026-09-25Apache-2.0