CVE-2026-46358: Github.com/openbao/openbao OpenBao's Inline Auth Incorrectly Redacted Vulnerability

MODERATE
Advisory Identifier: GHSA-q8cj-789h-vg24
CWE-532
Published
Advisory Summary

CVE-2026-46358 is a MODERATE openbao's inline auth incorrectly redacted vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Github.com/openbao/openbao libraries in the Go ecosystem. The issue involves openbao's inline auth incorrectly redacted headers. Remediation is available by upgrading affected packages to version 2.5.4.

CVE-2026-46358 at a Glance

CVE Identifier CVE-2026-46358
GHSA Identifier GHSA-q8cj-789h-vg24
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Github.com/openbao/openbao
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-46358

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: 2.5.4
Upgrade github.com/openbao/openbao to 2.5.4
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-46358, 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 2.5.4), 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-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. 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 inline auth functionality incorrectly redacted audit log entries, resulting in non-auth headers being removed and auth-related headers being retained in cleartext. This requires an attacker to compromise access to the audit device. Operators should review leaked source authentication material and rotate it as appropriate. ### Patches This is fixed in OpenBao v2.5.4. ### Resources https://github.com/openbao/openbao/issues/3074

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

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

References

Frequently Asked Questions

What is CVE-2026-46358?
CVE-2026-46358 is a security vulnerability in Github.com/openbao/openbao involving OpenBao's Inline Auth Incorrectly Redacted Headers under CWE-532: Insertion of Sensitive Information into Log File.
Which Github.com/openbao/openbao versions are affected?
Affected versions include releases prior to 2.5.4 across affected packages: github.com/openbao/openbao.
What version fixes CVE-2026-46358?
Upgrading to 2.5.4 (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 2.5.4. Upgrade your dependency to 2.5.4 or later.
What CWE is associated with CVE-2026-46358?
CVE-2026-46358 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Go dependencies for CVE-2026-46358?
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-q8cj-789h-vg24",
  "modified" : "2026-05-28T17:52:43Z",
  "published" : "2026-05-28T17:52:43Z",
  "aliases" : [ "CVE-2026-46358" ],
  "summary" : "OpenBao's Inline Auth Incorrectly Redacted Headers",
  "details" : "### Impact\n\nOpenBao's inline auth functionality incorrectly redacted audit log entries, resulting in non-auth headers being removed and auth-related headers being retained in cleartext. This requires an attacker to compromise access to the audit device. Operators should review leaked source authentication material and rotate it as appropriate.\n\n### Patches\n\nThis is fixed in OpenBao v2.5.4.\n\n### Resources\n\nhttps://github.com/openbao/openbao/issues/3074",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/openbao/openbao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.5.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.5.3"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/security/advisories/GHSA-q8cj-789h-vg24"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/issues/3074"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/pull/3076"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/commit/131c6966af4dfb4e1906703436eecdb8f2a3e9df"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openbao/openbao"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/releases/tag/v2.5.4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-28T17:52:43Z",
    "nvd_published_at" : null
  }
}