CVE-2024-7594
HIGH 8.8CVSS 3.1Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default
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
- 26 Sep 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Analyzed
- Weakness
- CWE-732
- Also known as
- BIT-openbao-2024-7594BIT-vault-2024-7594GHSA-jg74-mwgw-v6x3GO-2024-3162
- Sources
- NVDJSONOSV GHSA-jg74-mwgw-v6x3JSONOSV GO-2024-3162JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.7.7, < 1.15.15 | 1.15.15 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
>= 1.7.7, < 1.17.6 | 1.17.6 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.16.0, < 1.16.10 | 1.16.10 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.17.0, < 1.17.6 | 1.17.6 |
| NVD | openbao | openbaocpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:* |
< 2.0.2 | 2.0.2 |
| OSV | Go | github.com/hashicorp/vault | >= 1.7.7, < 1.17.6 | 1.17.6 |
| OSV | Go | github.com/openbao/openbao | >= 0.1.0 | |
| OSV | Go | github.com/openbao/openbao | < 0.0.0-20241003222810-d5b4e9224698 | 0.0.0-20241003222810-d5b4e9224698 |
References
- https://discuss.hashicorp.com/t/hcsec-2024-20-vault-ssh-secrets-engine-configuration-did-not-restrict-valid-principals-by-default/70251 · Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20250110-0007/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-7594 · ADVISORY
- 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://github.com/advisories/GHSA-jg74-mwgw-v6x3 · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 26 Sep 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Oct 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Sep 2024)