medium4.6
CVE-2026-126311
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 meta…
Impact
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.
An attacker can exploit this over the network, with an administrator account, without any action by a user. Specific conditions have to be met, which makes an attack harder.
Affected products · Openbao
| Product | Affected versions |
|---|---|
| Openbao | before 2.6.5 from 2.7.0 before 2.7.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/openbao/openbao/security/advisories/GHSA-h76r-48x5-36hg
- https://www.vulncheck.com/advisories/openbao-before-2.6.5-and-2.7.2-wildcard-principals-in-ssh-certificates-via-identity-templates
- https://github.com/advisories/GHSA-mp7h-3v4w-hrpv
- https://nvd.nist.gov/vuln/detail/CVE-2026-126311