CVE-2026-40264: Github.com/openbao/openbao OpenBao's Token Store Allows Cross-Namespace Vulnerability

LOW
Advisory Identifier: GHSA-p49j-v9wc-wg57
CWE-1259
Published
Advisory Summary

CVE-2026-40264 is a LOW openbao's token store allows cross-namespace vulnerability (CWE-1259: Improper Restriction of Security Token Assignment) affecting Github.com/openbao/openbao libraries in the Go ecosystem. The issue involves openbao's token store allows cross-namespace renewal, revocation. Remediation is available by upgrading affected packages to version 0.0.0-20260420162526-f58111d2ca54.

CVE-2026-40264 at a Glance

CVE Identifier CVE-2026-40264
GHSA Identifier GHSA-p49j-v9wc-wg57
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-1259: Improper Restriction of Security Token Assignment
Affected Product Github.com/openbao/openbao
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-40264

To remediate this vulnerability, upgrade all affected Github.com/openbao/openbao dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/openbao/openbao fixed: 0.0.0-20260420162526-f58111d2ca54
Upgrade github.com/openbao/openbao to 0.0.0-20260420162526-f58111d2ca54
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/openbao/openbao

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-40264, inspect your project dependencies for Github.com/openbao/openbao:

inspect dependencies for github.com/openbao/openbao

Analyze the terminal output to locate any version of Github.com/openbao/openbao in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260420162526-f58111d2ca54), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1259: Improper Restriction of Security Token Assignment, where the system-on-a-chip (soc) implements a security token mechanism to differentiate what actions are allowed or disallowed when a transaction originates from an entity. however, the security tokens are improperly protected. In Github.com/openbao/openbao, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact OpenBao's namespaces provide multi-tenant separation. A tenant who leaks token accessors can have their token revoked or renewed by a privileged administrator in another tenant. ### Patches This was addressed in v2.5.3.

CVE-2026-40264 Affected Github.com/openbao/openbao Versions

1 component(s)
Fixed Versions:
0.0.0-20260420162526-f58111d2ca54
Product / Package Ecosystem Affected Versions Fixed Version
github.com/openbao/openbao
Go
< 0.0.0-20260420162526-f58111d2ca54
0.0.0-20260420162526-f58111d2ca54

References

Frequently Asked Questions

What is CVE-2026-40264?
CVE-2026-40264 is a security vulnerability in Github.com/openbao/openbao involving OpenBao's Token Store Allows Cross-Namespace Renewal, Revocation under CWE-1259: Improper Restriction of Security Token Assignment.
Which Github.com/openbao/openbao versions are affected?
Affected versions include releases prior to 0.0.0-20260420162526-f58111d2ca54 across affected packages: github.com/openbao/openbao.
What version fixes CVE-2026-40264?
Upgrading to 0.0.0-20260420162526-f58111d2ca54 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/openbao/openbao affected?
Yes, github.com/openbao/openbao is affected in releases prior to 0.0.0-20260420162526-f58111d2ca54. Upgrade your dependency to 0.0.0-20260420162526-f58111d2ca54 or later.
What CWE is associated with CVE-2026-40264?
CVE-2026-40264 is classified under CWE-1259: Improper Restriction of Security Token Assignment (The System-On-A-Chip (SoC) implements a Security Token mechanism to differentiate what actions are allowed or disallowed when a transaction originates from an entity. However, the Security Tokens are improperly protected.).
How can I check Go dependencies for CVE-2026-40264?
Run the dependency tree command: 'inspect dependencies for github.com/openbao/openbao'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-p49j-v9wc-wg57",
  "modified" : "2026-04-21T18:27:42Z",
  "published" : "2026-04-21T18:27:42Z",
  "aliases" : [ "CVE-2026-40264" ],
  "summary" : "OpenBao's Token Store Allows Cross-Namespace Renewal, Revocation",
  "details" : "### Impact\n\nOpenBao's namespaces provide multi-tenant separation. A tenant who leaks token accessors can have their token revoked or renewed by a privileged administrator in another tenant.\n\n### Patches\n\nThis was addressed in v2.5.3.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/openbao/openbao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260420162526-f58111d2ca54"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/security/advisories/GHSA-p49j-v9wc-wg57"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40264"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/pull/2934"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/commit/059cc5950303688335d5c8ab9af8e453795d693a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openbao/openbao"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/releases/tag/v2.5.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1259" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-21T18:27:42Z",
    "nvd_published_at" : "2026-04-21T01:16:06Z"
  }
}