CVE-2026-126311
Received Received - Intake

OpenBao SSH Certificate Wildcard Injection via Identity Templates

Vulnerability report for CVE-2026-126311, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
openbao openbao to 2.6.5 (exc)
openbao openbao From 2.7.0 (inc) to 2.7.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-155 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as wildcards or matching symbols when they are sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

OpenBao before versions 2.6.5 and 2.7.2 has a flaw where wildcard characters in SSH certificate principals are not properly neutralized when generated from unvalidated external token metadata via identity templates. Attackers controlling this metadata can inject a wildcard (*) to create SSH certificates valid for multiple hosts or users.

Detection Guidance

Check OpenBao versions with 'openbao version' or 'vault version'. Inspect SSH secrets engine configurations for identity templates containing wildcards. Review logs for unusual SSH certificate issuance patterns.

Impact Analysis

If exploited, this vulnerability allows attackers to obtain SSH certificates that grant access to unintended systems or users, potentially leading to unauthorized access and lateral movement within a network. Exploitation requires compromising an identity provider.

Mitigation Strategies

Upgrade OpenBao to v2.6.5 or v2.7.2+. Disable wildcard support by setting 'allow_wildcards_in_identity_templates=false' in SSH secrets engine config. Audit and revoke any previously issued SSH certificates with wildcard principals.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126311. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...