# CVE-2026-40264: OpenBao's Token Store Allows Cross-Namespace Renewal, Revocation

Source: https://junglewise.ai/threats/cve-2026-40264-openbao-s-token-store-allows-cross-namespace-renewal-revocation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-21. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2026-40264 · Severity: medium · CVSS 4 · Published 2026-04-21

OpenBao is an open source identity-based secrets management system. OpenBao's namespaces provide multi-tenant separation. Prior to version 2.5.3, a tenant who leaks token accessors can have their token revoked or renewed by a privileged administrator in another tenant. This is addressed in v2.5.3.

Technologies: [github.com/openbao/openbao (Go)](https://junglewise.ai/threats/technologies/github-com-openbao-openbao), [OpenBao](https://junglewise.ai/threats/technologies/openbao). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [OpenBao](https://junglewise.ai/threats/vendors/openbao).

## Quick answers

**Is CVE-2026-40264 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-40264 being exploited in the wild.

**How severe is CVE-2026-40264?** Medium severity, with a CVSS score of 4, published 21 April 2026.

**Which products and versions are affected?** github.com/openbao/openbao (Go) < 0.0.0-20260420162526-f58111d2ca54, SEMVER:introduced=0,fixed=0.0.0-20260420162526-f58111d2ca54.

**Is there a fix for CVE-2026-40264?** Yes. github.com/openbao/openbao (Go): upgrade to 0.0.0-20260420162526-f58111d2ca54 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-40264?** Check whether you run github.com/openbao/openbao (Go) or OpenBao at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/openbao/openbao (Go): upgrade to 0.0.0-20260420162526-f58111d2ca54 or later

  ```sh
  go get github.com/openbao/openbao@v0.0.0-20260420162526-f58111d2ca54
  ```


## Affected products

- github.com/openbao/openbao (Go) < 0.0.0-20260420162526-f58111d2ca54, SEMVER:introduced=0,fixed=0.0.0-20260420162526-f58111d2ca54
- OpenBao

## Identifiers

- CVE-2026-40264
- GHSA-p49j-v9wc-wg57
- GO-2026-5526

## References

- [https://api.github.com/users/Zwique](https://api.github.com/users/Zwique)
- [https://github.com/Zwique](https://github.com/Zwique)
- [https://api.github.com/users/Zwique/gists%7B/gist_id%7D](https://api.github.com/users/Zwique/gists%7B/gist_id%7D)
- [https://api.github.com/users/Zwique/repos](https://api.github.com/users/Zwique/repos)
- [https://avatars.githubusercontent.com/u/97537483?v=4](https://avatars.githubusercontent.com/u/97537483?v=4)
- [https://api.github.com/users/Zwique/events%7B/privacy%7D](https://api.github.com/users/Zwique/events%7B/privacy%7D)

## Related threats

- [OpenBao policy cache incorrect authorization via namespace traversal](https://junglewise.ai/threats/cve-2026-115365-openbao-from-2-3-0-before-2-6-3-contains-an-incorrect)
- [OpenBao ACL bypass in policy denial evaluation](https://junglewise.ai/threats/cve-2026-115361-openbao-before-2-6-3-contains-an-acl-bypass-vulnerability-that)
- [OpenBao Kubernetes Auth token renewal on revoked credentials](https://junglewise.ai/threats/cve-2026-115356-openbao-before-2-6-4-and-2-7-x-before-2-7-1-does-not-verify-when)
- [OpenBao Agent information disclosure via stdout in exec rendering mode](https://junglewise.ai/threats/cve-2026-77285-openbao-agent-information-disclosure-via-stdout-in-exec-rendering)
- [OpenBao recovery mode timing attack token leakage](https://junglewise.ai/threats/cve-2026-63132-openbao-recovery-mode-timing-attack-token-leakage)
