CVE-2026-126311: OpenBao before 2.6.5 and 2.7.2 Wildcard Principals in SSH Certificates via Identity Templates

Published Nov 13, 2026
·
Updated

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.

Affected Software

1 affected component
OpenBao OpenBao<2.6.5, >=2.7.0<2.7.2

Event History

Nov 13, 2026
CVE Published
via MITRE·09:36 AM
Data Sourced
via MITRE·09:36 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Deployments using the OpenBao SSH secrets engine with identity templates that render SSH certificate principals from unvalidated external token metadata are exposed. Exploitation typically requires compromise of, or control over metadata supplied by, an identity provider.

2

What does an attacker need to exploit it?

The attacker needs the ability to control external token metadata used by an identity template for SSH certificate principals. They can then inject a '*' wildcard into the rendered principal, causing issued certificates to be valid for multiple hosts or users.

3

Are default configurations affected?

The available information identifies exposure only where the SSH secrets engine uses identity templates populated from unvalidated external token metadata. It does not state whether this is enabled or configured by default.

4

What versions address the issue?

The issue is addressed in OpenBao 2.6.5 and 2.7.2. Affected releases are versions before 2.6.5 and 2.7.x releases before 2.7.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203