CVE-2026-126311
OpenBao before 2.6.5 and 2.7.2 Wildcard Principals in SSH Certificates via Identity Templates
Mitigation
- Upgrade openbao to 2.7.2 or later.
Who should check
- Anyone running openbao < 2.6.5; >= 2.7.0, < 2.7.2
Vulnerability facts
- Affected
- openbao < 2.6.5; >= 2.7.0, < 2.7.2
- Fixed in
- openbao 2.6.5, openbao 2.7.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.6 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: High
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: High
- Availability impact on other systems: None
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-28)
- CWE
- CWE-155
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| openbao | < 2.6.5; >= 2.7.0, < 2.7.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-126311. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-126311.md Affected: openbao < 2.6.5; >= 2.7.0, < 2.7.2 Fixed in: openbao 2.6.5, openbao 2.7.2 Steps: 1. Search this machine and project for openbao: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-126311 being exploited?
There is no confirmed exploitation: CVE-2026-126311 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-126311?
Medium: CVSS 4.6 (v4.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-126311?
openbao < 2.6.5; >= 2.7.0, < 2.7.2.
Is there a fix for CVE-2026-126311?
Yes. Fixed in openbao 2.6.5, openbao 2.7.2. Upgrade openbao to 2.7.2 or later.
How do I check if I'm affected by CVE-2026-126311?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More openbao vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.6 | CVE-2026-126309 OpenBao before 2.6.5 and 2.7.2 Path Traversal in Transit Key Import | openbao | EPSS 28% | |
| HIGH 7.0 | CVE-2026-126310 OpenBao before 2.6.5 and 2.7.2 OIDC Provider Authentication Bypass via Client Credentials | openbao | EPSS 36% | |
| HIGH 7.6 | CVE-2026-126312 OpenBao before 2.6.5 and 2.7.2 ACL Bypass via Non-Canonical Plugin Paths | openbao | EPSS 28% |