CVE-2026-55776: OpenBao: Transit secrets engine crashes on key creation with `derived: true` for asymmetric key types
On OpenBao 2.5.4 and 2.5.2(and likely earlier versions also), an authenticated caller with write access to transit/keys/ can crash the OpenBao server by issuing a single key-creation request that combines an asymmetric type (rsa-, ecdsa-, ed25519) with derived: true. The server returns no HTTP response and the process terminates (exit code 2).
Published Jun 19, 2026
Affected packages
github.com/openbao/openbao
- Ecosystem
- Go
- Affected
- >= 0.1.0, <= 2.5.4
- Fixed in
- No patched version yet
- Check
go list -m github.com/openbao/openbao
github.com/openbao/openbao
- Ecosystem
- Go
- Affected
- < 0.0.0-20260617104123-db57c62602b2
- Fixed in
- 0.0.0-20260617104123-db57c62602b2
- Check
go list -m github.com/openbao/openbao
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
On OpenBao 2.5.4 and 2.5.2(and likely earlier versions also), an authenticated caller with write access to transit/keys/* can crash the OpenBao server by issuing a single key-creation request that combines an asymmetric type (rsa-*, ecdsa-*, ed25519) with derived: true. The server returns no HTTP response and the process terminates (exit code 2). This is a remote, low-complexity denial-of-service against the OpenBao server.
Mount the transit engine:
curl -sS -X POST -H "X-Vault-Token: root" \ -d '{"type":"transit"}' \ http://127.0.0.1:8200/v1/sys/mounts/transit
Trigger the crash:
curl -sS -w '\nHTTP %{http_code}\n' -X POST \ -H "X-Vault-Token: root" \ -H "Content-Type: application/json" \ -d '{"type":"rsa-2048","derived":true,"exportable":true,"deletion_allowed":false}' \ http://127.0.0.1:8200/v1/transit/keys/some-key-name
You can try with both JSON or HCL It will crash the entire cluster.
Observed: HTTP 000 curl: (52) Empty reply from server
$ docker ps -a --filter name=openbao STATUS: Exited (2)
Root Cause (Hypothesis) Key-derivation paths in the transit engine appear to assume a symmetric key shape (a derivable key context). When derived: true is supplied alongside an asymmetric type, the creation path likely panics on a missing derived-key field or invalid type assertion rather than returning a structured validation error. Maintainers should confirm against the transit policy.go / key-creation path.
Suggested fix: Validate the (type, derived) combination at the top of the create-key handler. Reject with a 400 if derived: true is set on any non-symmetric type (i.e. anything other than aes128-gcm96, aes256-gcm96, chacha20-poly1305, xchacha20-poly1305). Do this before any code path that may panic on missing derived-key state.
Credited to SahilKumar000.
References
- https://github.com/openbao/openbao/security/advisories/GHSA-8w8f-r2xv-4q4j
- https://github.com/openbao/openbao/pull/3309
- https://github.com/openbao/openbao/commit/db57c62602b25da12951f3f0edb888e7c4da61e5
- https://github.com/openbao/openbao/releases/tag/v2.5.5
- https://github.com/advisories/GHSA-8w8f-r2xv-4q4j
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-63131
OpenBao Skips Stricter Deny Policy for LIST operations
medium6.0No fixSep 22, 2026CVE-2026-63132
OpenBao's Recovery Mode Vulnerable To Token Leakage via Timing Attack
critical9.1No fixSep 22, 2026CVE-2026-71543
OpenBao's Templated Policies Allow Privilege Escalation via Wildcard Characters
high7.5No fixSep 22, 2026CVE-2026-77285
OpenBao Agent Writes Secrets to Stdout
low2.4No fixSep 22, 2026CVE-2026-55770
OpenBao: LDAPi ldaputil (wrong escape func)
medium6.8No fixJun 19, 2026CVE-2026-55774
OpenBao: Cross-namespace lease revocation/renewal via canonical sys/leases/{revoke,renew} — incomplete fix of CVE-2026-45808
low2.1No fixJun 19, 2026
