{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-7594","id":"CVE-2024-7594","title":"Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default","description":"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 Enterpris","descriptionLong":"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.","published":"2024-09-26T19:52:55.652Z","updated":"2026-10-28T02:30:23.730832492Z","reserved":"2024-08-07T17:46:31.343Z","status":"Analyzed","rejected":false,"assigner":"HashiCorp","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"HashiCorp"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"HashiCorp"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"hashicorp.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["HashiCorp Vault","HashiCorp Vault Enterprise"],"affectedProducts":[{"vendor":"HashiCorp","product":"Vault","defaultStatus":"unaffected","versions":[{"lessThan":"1.17.6","status":"affected","version":"1.7.7","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"]},{"vendor":"HashiCorp","product":"Vault Enterprise","defaultStatus":"unaffected","versions":[{"changes":[{"at":"1.16.10","status":"unaffected"},{"at":"1.15.15","status":"unaffected"}],"lessThan":"1.17.6","status":"affected","version":"1.7.7","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"]}],"packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=1.7.7 <1.17.6"],"fixed":["1.17.6"],"advisory":"GHSA-jg74-mwgw-v6x3"},{"ecosystem":"Go","name":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","ranges":[">=0.1.0","<0.0.0-20241003222810-d5b4e9224698"],"fixed":["0.0.0-20241003222810-d5b4e9224698"],"advisory":"GHSA-jg74-mwgw-v6x3"}],"cwes":["CWE-732"],"aliases":["BIT-openbao-2024-7594","BIT-vault-2024-7594","GHSA-jg74-mwgw-v6x3","GO-2024-3162"],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-20-vault-ssh-secrets-engine-configuration-did-not-restrict-valid-principals-by-default/70251","tags":["Vendor Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20250110-0007/","tags":["Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7594.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7594","tags":["advisory"]},{"url":"https://github.com/hashicorp/vault","tags":["package"]},{"url":"https://github.com/openbao/openbao/pull/561","tags":["web"]},{"url":"https://github.com/openbao/openbao/commit/d5b4e922469830ac335b21dc0e8f9878c501a884","tags":["web"]},{"url":"https://openbao.org/docs/release-notes/2-0-0/#202","tags":["web"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3162","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20250110-0007","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jg74-mwgw-v6x3","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00269,"epssPercentile":0.19343,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-7594","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7594","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-7594","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jg74-mwgw-v6x3","ok":true,"note":"GHSA-jg74-mwgw-v6x3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-7594","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}