CVE-2026-126311

OpenBao before 2.6.5 and 2.7.2 Wildcard Principals in SSH Certificates via Identity Templates

Published Nov 13, 2026 CVSS 4.0 · 4.6 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

OpenBao does not neutralize wildcard characters in SSH certificate principals that are rendered from unvalidated external token metadata via identity templates in the SSH secrets engine. Attackers who can control or inject such metadata—typically through a compromised identity provider—can insert a '*' and receive SSH certificates that are valid for multiple hosts or users. This allows an attacker to obtain unauthorized SSH access with the privileges of the supplied principals, enabling potential privilege escalation and mass exploitation of authorized systems.

Affected Systems

The vulnerability affects OpenBao openbao. Versions before 2.6.5 and before 2.7.2 in the 2.7.x line are impacted. Users running these versions should verify their current install and plan to upgrade to a patched release.

Risk and Exploitability

The CVSS base score of 4.6 indicates moderate severity, and the EPSS score of less than 1% suggests a low probability of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Attackers would likely need to compromise an identity provider or otherwise control the external token metadata used by OpenBao; therefore the attack vector is primarily internal or privileged. While the impact could be significant if exploited, the low EPSS and lack of public exploits reduce immediate risk, but the potential for mass credential misuse warrants timely remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenBao to version 2.6.5 or later, or 2.7.2 or later, to apply the fix that neutralizes wildcard characters.
  • Validate and restrict external identity provider metadata to prevent injection of wildcard characters in principal templates.
  • Monitor SSH certificate issuance logs for unexpected or wildcarded principals and investigate anomalies.
  • If an urgent upgrade is not possible, configure the SSH secrets engine to disable wildcard principal generation in identity templates as a temporary workaround.

Generated by OpenCVE AI on November 14, 2026 at 14:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title OpenBao before 2.6.5 and 2.7.2 Wildcard Principals in SSH Certificates via Identity Templates
First Time appeared Openbao
Openbao openbao
Weaknesses CWE-155
CPEs cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:*
Vendors & Products Openbao
Openbao openbao
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N'}

cvssV4_0

{'score': 4.6, 'vector': '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'}

Weaknesses
  • CWE-155

    Improper Neutralization of Wildcards or Matching Symbols

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 13, 2026, 8:44 PM
Reserved
Nov 10, 2026, 8:16 PM
Status
Received
Published
Nov 13, 2026, 10:17 AM
Modified
Nov 13, 2026, 9:17 PM