Wildcard principals in OpenBao SSH certificates via identity templates
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
OpenBao before 2.6.5 and from 2.7.0 before 2.7.2 does not neutralize wildcard characters in SSH certificate principals rendered from unvalidated external token metadata through identity templates in the SSH secrets engine. An attacker who controls that metadata, typically through a compromised identity provider, can inject a wildcard to obtain SSH certificates valid for multiple hosts or users (CWE-155). The attacker needs high privileges and the flaw has a CVSS 4.0 base score of 4.6 (MEDIUM).
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade OpenBao to version 2.6.5 or 2.7.2. The affected range of the 2.7 branch is from 2.7.0 before 2.7.2, so 2.7.2 is the fixed version for that branch.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA openbao (openbao) Fixed in 2.6.5, 2.7.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
openbao 2.6.5, 2.7.2
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2026-91250 ACL bypass in OpenBao via non-canonical plugin pathsPriority LOW 34
- TI-2026-91247 Path traversal in OpenBao Transit key import lets attackers bypass name limitsPriority LOW 34
- TI-2026-91248 Authentication bypass in OpenBao OIDC provider lets callers obtain ID tokensPriority LOW 31
Timeline
- 2026-11-13 Threatist record created from CVE-2026-126311
- 2026-11-13 Alias added: GHSA-mp7h-3v4w-hrpv
- 2026-11-13 CISA SSVC decision points changed
References
More openbao vulnerabilities
- TI-2024-01904 Vault Cert Auth Method Did Not Correctly Validate Non-CA Certificates CVSS 3.1CRITICAL 9.8
- TI-2026-34075 OpenBao's Inline Auth Incorrectly Redacted Headers CVSS 4.0MEDIUM 5.4
- TI-2026-40259 OpenBao: LDAPi ldaputil (wrong escape func) CVSS 3.1MEDIUM 6.8
- TI-2026-40265 OpenBao: Transit secrets engine crashes on key creation with `derived: true` for asymmetric key types CVSS 3.1MEDIUM 6.5
- TI-2026-28381 OpenBao has Decompression Bomb via Unbounded Copy in OCI Plugin Extraction (DoS) CVSS 3.1MEDIUM 6.5
- TI-2026-45068 OpenBao's Recovery Mode Vulnerable To Token Leakage via Timing Attack CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-126311 · CVE Program
- CVE-2026-126311 · NVD
- FIRST EPSS
- GHSA-mp7h-3v4w-hrpv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences