Skip to main content

OpenBao CVE-2026-126311

| EUVDEUVD-2026-125209 MEDIUM
Improper Neutralization of Wildcards or Matching Symbols (CWE-155)
2026-11-13 VulnCheck GHSA-mp7h-3v4w-hrpv
4.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise upstream identity provider
  2. Delivery
    Inject '*' into external token metadata
  3. Exploit
    Request SSH cert via templated secrets-engine role
  4. Execution
    OpenBao renders wildcard principal unneutralized
  5. Persist
    Obtain certificate valid across multiple hosts/users
  6. Impact
    Access unintended SSH hosts or user accounts

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Wildcard neutralization
Exploitation Conditions

Exploitation requires a specific, non-default configuration: an OpenBao SSH secrets engine with roles that derive certificate principals from identity templates referencing external token metadata. The attacker must control that external metadata - the vendor notes this typically means compromising the upstream identity provider, which is outside OpenBao's own threat model. Limiting factors are significant: a privileged/authenticated context is required (PR:H), the administrator must have configured variable-scope templated SSH roles, and the attack has high complexity (AC:H) with an attack requirement (AT:P). The fix introduces an 'allow_wildcards_in_identity_templates' parameter defaulting to false, so patched deployments block wildcard issuance unless explicitly opted in.

Impact

This is a genuinely low-to-moderate priority issue despite being an SSH certificate authorization flaw, and the signals are internally consistent rather than conflicting. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:H/UI:N) encodes heavy preconditions: high privileges, high attack complexity, and a present attack requirement (AT:P), yielding a modest 4.6 score. Impact is narrow - only subsequent-system integrity (SI:H) is affected, with no confidentiality, availability, or vulnerable-system impact - reflecting that the flaw lets an attacker widen the scope of SSH certificates rather than directly compromise OpenBao itself. No KEV listing and no EPSS score were provided, so there is no signal of active or probable exploitation; the vendor explicitly states that exploitation in most cases requires compromising the upstream identity provider, which is outside OpenBao's own threat model. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the picture of a real-but-not-urgent configuration-dependent weakness. No public exploit code is indicated - the supplied references are vendor advisories (GHSA, VulnCheck), not verified working exploits. The authentication posture is confirmed by the vector: PR:H means a privileged/authenticated context is required, consistent with the need to control token metadata and to have templated SSH roles configured.

Exploit ScenarioDerived

An attacker who has compromised an upstream identity provider (or otherwise controls the external token metadata fed to OpenBao) embeds a wildcard '*' into a metadata field. When OpenBao's SSH secrets engine renders a certificate principal from that metadata via an identity template, the unneutralized '*' is passed through to OpenSSH, producing a certificate valid for multiple hosts or users. No public exploit code is identified at time of analysis, and high attack complexity (AC:H) plus the privileged, IDP-compromise precondition make opportunistic exploitation unlikely.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

OpenBao's SSH secrets engine renders SSH certificate principals from identity templates that interpolate external token metadata, and versions before 2.6.5 and 2.7.x before 2.7.2 do not neutralize wildcard characters in that output, so an attacker who controls the metadata can obtain an SSH certificate whose '*' principal matches multiple hosts or users. Reaching that point requires a non-default setup - templated, variable-scope SSH roles driven by unvalidated external metadata - plus control of the upstream system supplying it, which the vendor describes as typically a compromised identity provider and outside OpenBao's threat model; the assessed vector (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N) reflects a privileged, high-complexity scenario with limited integrity impact. No public exploit identified at time of analysis, and the vendor-released patch ships in OpenBao 2.7.2 plus a backport release 2.6.5.

RemediationAI

Upgrade to OpenBao 2.7.2, the release in which this is fixed; a special 2.6.5 build has been cut for the 2.6.x line, but that series is officially unsupported upstream, so migrating to 2.7.x is the recommended path (advisory: https://github.com/openbao/openbao/security/advisories/GHSA-h76r-48x5-36hg). After upgrading, the new allow_wildcards_in_identity_templates parameter defaults to false and wildcard principals are refused at issuance; leaving it at the default is what actually closes the hole, whereas setting it to true deliberately re-permits wildcard issuance and re-exposes the weakness. Where patching must be staged, the practical compensating control is configuration-side: audit SSH secrets engine roles for identity templates whose principals derive from external token metadata and replace them with fixed or tightly bounded principal values - the trade-off being loss of the dynamic, per-user scoping those templates were built to provide. Because the vendor frames the precondition as control over the upstream identity provider, hardening and monitoring of that IdP is directly relevant to whether this can be reached at all.

Affected VersionsENISA

openbao 0 <2.6.5
openbao 2.7.0 <2.7.2

Affected Packages

euvd openbao fix: 2.6.5, 2.7.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-155 (Improper Neutralization of Wildcards or Matching Symbols) in OpenBao's identity templating layer as used by the SSH secrets engine. Administrators can define SSH roles whose certificate principals are populated at issuance time by templates that read the caller's token metadata; OpenBao does not validate or constrain metadata that originates in an external system such as an identity provider. Because OpenSSH treats '*' in a certificate principal as a special matching symbol covering one or more hosts or users, a metadata value containing a wildcard silently broadens the authorization scope of the issued certificate beyond a single identity. The vendor ties this to the precedent set by GHSA-59w7-v8rr-pr4p / CVE-2026-71543, which placed downstream effects of identity templating within scope, and notes the weakness is original to HashiCorp Vault. The patch adds an allow_wildcards_in_identity_templates parameter that defaults to false, so patched deployments refuse to issue certificates containing wildcard principals unless an operator explicitly opts in. Per the CPE cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:* and the EUVD ranges, the affected code is the whole OpenBao tree below the fixed release boundaries; the exact triggering sequence beyond templated principal rendering is not described in the available sources.

Know when Openbao gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 4.6 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N
vuln.today AI 3.0 LOW

Requires privileged role setup plus control of external token metadata (PR:H, AC:H); impact is a scope change (S:C) weakening SSH principal integrity on downstream hosts (I:L), no confidentiality/availability loss.

3.1 AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 10:02 EUVD

DescriptionCVE.org

OpenBao before 2.6.5 and 2.7.x before 2.7.2 does not neutralize wildcard characters in SSH certificate principals rendered from unvalidated external token metadata via identity templates in the SSH secrets engine. Attackers controlling that metadata, typically through a compromised identity provider, can inject '*' to obtain SSH certificates valid for multiple hosts or users.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche open-source Vault fork, limited and still-emerging enterprise adoption
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2024-2048 CRITICAL
9.8 Mar 04

Vault and Vault Enterprise (“Vault”) TLS certificate auth method did not correctly validate client certificates when con

CVE-2026-63132 CRITICAL
9.2 Sep 22

Timing-based leakage of the single recovery token in OpenBao lets a remote, unauthenticated attacker who can reach the i

CVE-2025-54997 CRITICAL
9.1 Aug 09

OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certifi

CVE-2024-7594 HIGH
8.8 Sep 26

Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. Rated high severity

CVE-2025-59048 HIGH
8.1 Oct 23

Cross-account IAM role impersonation in OpenBao's auth-aws plugin (versions up to and including 0.1.0) lets an authentic

CVE-2026-126309 HIGH
7.6 Nov 13

Transit key import in OpenBao before 2.6.5 and 2.7.0 through 2.7.1 lets an authenticated attacker who is restricted by a

CVE-2026-126312 HIGH
7.6 Nov 13

Authenticated OpenBao clients can evade ACL deny rules protecting AppRole (Role IDs), Cert Auth (CRLs), LDAP Auth (group

CVE-2026-115365 HIGH
7.5 Oct 22

Cross-namespace privilege escalation in OpenBao 2.3.0 through 2.6.2 allows an authenticated token holder to attach speci

CVE-2026-71543 HIGH
7.5 Sep 21

OpenBao versions prior to 2.6.0 fail to reject syntax-significant characters when templated identity data is substituted

CVE-2025-59043 HIGH
7.5

Unauthenticated denial of service in OpenBao 2.4.0 and earlier allows remote attackers to crash the server or exhaust CP

CVE-2025-64761 HIGH
7.5 Nov 25

OpenBao is an open source identity-based secrets management system. Rated high severity (CVSS 7.5), this vulnerability i

CVE-2025-52894 HIGH
7.5 Jun 25

OpenBao versions before 2.3.0 contain an unauthenticated denial-of-service vulnerability in the root rekey and recovery

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy