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

- Severity: Medium 4.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-13T09:36:18.274Z
- Modified: 2026-11-27T06:45:35.840Z
- Also known as: BIT-OPENBAO-2026-126311
- Weaknesses: CWE-155
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- openbao openbao: before 2.6.5; from 2.7.0 before 2.7.2 (not affected: 2.6.5; 2.7.2)
- openbao (Bitnami): before 2.6.5; from 2.7.0 before 2.7.2

## Every score

- VulnCheck: CVSS:4.0 4.6 Medium `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`
- VulnCheck: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/openbao/openbao/security/advisories/GHSA-h76r-48x5-36hg> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/openbao-before-2.6.5-and-2.7.2-wildcard-principals-in-ssh-certificates-via-identity-templates> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126311> (web)

## Sources

- CVE List: [CVE-2026-126311](https://www.cve.org/CVERecord?id=CVE-2026-126311), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-126311](https://nvd.nist.gov/vuln/detail/CVE-2026-126311), Public domain, modified 2026-11-13
- Bitnami Vulnerability Database: [BIT-OPENBAO-2026-126311](https://osv.dev/vulnerability/BIT-OPENBAO-2026-126311), Apache-2.0, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-126311 · Whole record: https://cve.day/CVE-2026-126311.json · Rebuilt by cve.day 2026-11-27T07:07:09.994Z
