# CVE-2024-7594: Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default

- Severity: High 7.5 (CVSS:3.1, scored by HashiCorp) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-09-26T19:52:55.652Z
- Modified: 2026-09-10T03:50:18.937Z
- Also known as: GHSA-jg74-mwgw-v6x3, BIT-OPENBAO-2024-7594, BIT-VAULT-2024-7594, GO-2024-3162
- Related: CGA-r5cq-xg62-h8mq
- Weaknesses: CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: HashiCorp

## 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 Enterprise 1.17.6, 1.16.10, and 1.15.15.

(As written by CVE List.)

## Affected

- HashiCorp Vault: from 1.7.7 before 1.17.6; from 1.7.7 before 1.15.15; from 1.16.0 before 1.16.10; from 1.17.0 before 1.17.6
- HashiCorp Vault Enterprise: from 1.7.7 before 1.17.6
- hashicorp vault_enterprise: from 1.7.7 before 1.17.6; 1.16.9; 1.15.14
- hashicorp vault_community_edition: from 1.7.7 before 1.17.6
- github.com/hashicorp/vault (Go): from 1.7.7 before 1.17.6
- github.com/openbao/openbao (Go): from 0.1.0; before 0.0.0-20241003222810-d5b4e9224698
- openbao openbao: before 2.0.2
- openbao (Bitnami): before 2.0.2
- vault (Bitnami): from 1.7.7 before 1.17.6

## Every score

- HashiCorp: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://discuss.hashicorp.com/t/hcsec-2024-20-vault-ssh-secrets-engine-configuration-did-not-restrict-valid-principals-by-default/70251> (advisory, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20250110-0007/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-7594> (advisory, web)
- <https://github.com/openbao/openbao/pull/561> (web)
- <https://github.com/openbao/openbao/commit/d5b4e922469830ac335b21dc0e8f9878c501a884> (web)
- <https://github.com/hashicorp/vault> (package)
- <https://openbao.org/docs/release-notes/2-0-0/#202> (web)
- <https://pkg.go.dev/vuln/GO-2024-3162> (web)
- <https://security.netapp.com/advisory/ntap-20250110-0007> (web)
- <https://github.com/advisories/GHSA-jg74-mwgw-v6x3> (advisory)

## Sources

- CVE List: [CVE-2024-7594](https://www.cve.org/CVERecord?id=CVE-2024-7594), CVE Terms of Use, modified 2025-01-10
- GitHub Advisory Database: [GHSA-jg74-mwgw-v6x3](https://github.com/advisories/GHSA-jg74-mwgw-v6x3), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-3162](https://pkg.go.dev/vuln/GO-2024-3162), CC-BY-4.0, modified 2026-07-27
- NVD: [CVE-2024-7594](https://nvd.nist.gov/vuln/detail/CVE-2024-7594), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-OPENBAO-2024-7594](https://osv.dev/vulnerability/BIT-OPENBAO-2024-7594), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VAULT-2024-7594](https://osv.dev/vulnerability/BIT-VAULT-2024-7594), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-7594 · Whole record: https://cve.day/CVE-2024-7594.json · Rebuilt by cve.day 2026-11-25T22:58:45.806Z
