{"id":"CVE-2024-7594","aliases":["CVE-2024-7594","GHSA-jg74-mwgw-v6x3","BIT-OPENBAO-2024-7594","BIT-VAULT-2024-7594","GO-2024-3162"],"related":["CGA-r5cq-xg62-h8mq"],"kind":"vulnerability","state":"published","title":"Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default","summary":"Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. If the valid_principals and default_user fields of the SSH secrets engine configuration are not set, an SSH certificate requested by an authorized user to Vault’s SSH secrets engine could be used to authenticate as any user on the host. Fixed in Vault Community Edition 1.17.6, and in Vault Enterprise 1.17.6, 1.16.10, and 1.15.15.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. If the valid_principals and default_user fields of the SSH secrets engine configuration are not set, an SSH certificate requested by an authorized user to Vault’s SSH secrets engine could be used to authenticate as any user on the host. Fixed in Vault Community Edition 1.17.6, and in Vault Enterprise 1.17.6, 1.16.10, and 1.15.15.","source":"cvelist"},{"lang":"en","text":"Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default in github.com/hashicorp/vault","format":"markdown","source":"go"},{"lang":"es","text":"El motor de secretos SSH de Vault no requería que la lista valid_principals contuviera un valor de manera predeterminada. Si los campos valid_principals y default_user de la configuración del motor de secretos SSH no están configurados, un certificado SSH solicitado por un usuario autorizado al motor de secretos SSH de Vault podría usarse para autenticarse como cualquier usuario en el host. Se corrigió en Vault Community Edition 1.17.6 y en Vault Enterprise 1.17.6, 1.16.10 y 1.15.15.","source":"nvd"}],"published":"2024-09-26T19:52:55.652Z","modified":"2026-09-10T03:50:18.937Z","severity":{"scorer":"HashiCorp","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"HashiCorp","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-732"],"affected":[{"ranges":[{"type":"semver","introduced":"1.7.7","fixed":"1.17.6","status":"affected"}],"vendor":"HashiCorp","product":"Vault","repo":"https://github.com/hashicorp/vault","platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.7.7","fixed":"1.17.6","status":"affected"}],"vendor":"HashiCorp","product":"Vault Enterprise","repo":"https://github.com/hashicorp/vault","platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.7.7","fixed":"1.17.6","status":"affected"},{"version":"1.16.9","status":"affected"},{"version":"1.15.14","status":"affected"}],"vendor":"hashicorp","product":"vault_enterprise","cpe":"cpe:2.3:a:hashicorp:vault_enterprise:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.7.7","fixed":"1.17.6","status":"affected"}],"vendor":"hashicorp","product":"vault_community_edition","cpe":"cpe:2.3:a:hashicorp:vault_community_edition:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.7.7","status":"affected","fixed":"1.17.6"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected"}],"ecosystem":"Go","package":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20241003222810-d5b4e9224698"}],"ecosystem":"Go","package":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.7.7","status":"affected","fixed":"1.17.6"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"go"},{"ranges":[{"status":"affected","introduced":"1.7.7","fixed":"1.15.15"},{"status":"affected","introduced":"1.7.7","fixed":"1.17.6"},{"status":"affected","introduced":"1.16.0","fixed":"1.16.10"},{"status":"affected","introduced":"1.17.0","fixed":"1.17.6"}],"vendor":"hashicorp","product":"vault","cpe":"cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"2.0.2"}],"vendor":"openbao","product":"openbao","cpe":"cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.2"}],"ecosystem":"Bitnami","package":"openbao","purl":"pkg:bitnami/openbao","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"1.7.7","status":"affected","fixed":"1.17.6"}],"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","source":"bitnami"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-20-vault-ssh-secrets-engine-configuration-did-not-restrict-valid-principals-by-default/70251","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20250110-0007/","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7594","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/openbao/openbao/pull/561","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/openbao/openbao/commit/d5b4e922469830ac335b21dc0e8f9878c501a884","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hashicorp/vault","tags":["package"],"sources":["ghsa"]},{"url":"https://openbao.org/docs/release-notes/2-0-0/#202","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3162","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20250110-0007","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-jg74-mwgw-v6x3","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"HashiCorp","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-09-26T20:24:40.797Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-7594","url":"https://www.cve.org/CVERecord?id=CVE-2024-7594","licence":"CVE Terms of Use","modified":"2025-01-10T13:06:49.543Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jg74-mwgw-v6x3","url":"https://github.com/advisories/GHSA-jg74-mwgw-v6x3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:18.937Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3162","url":"https://pkg.go.dev/vuln/GO-2024-3162","licence":"CC-BY-4.0","modified":"2026-07-27T09:11:28.222Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-7594","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7594","licence":"Public domain","modified":"2026-06-17T08:20:31.020Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-OPENBAO-2024-7594","url":"https://osv.dev/vulnerability/BIT-OPENBAO-2024-7594","licence":"Apache-2.0","modified":"2026-09-08T08:48:16.717Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-VAULT-2024-7594","url":"https://osv.dev/vulnerability/BIT-VAULT-2024-7594","licence":"Apache-2.0","modified":"2026-09-08T08:48:21.377Z"}],"updatedAt":"2026-11-25T22:58:45.806Z","epss":{"score":0.00269,"percentile":0.20375,"date":"2026-12-01T12:00:22.000Z"}}