Vault 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-7594
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:28 UTC · Revision 1
Source evidence
Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default
core-osv · Original sourcePublished 26 Sept 2024, 19:52 UTC
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.
osv:CVE-2024-7594
Complete source record
{
"id": "3244d4300e285a972599165ca5511dec43fc20ac24b667615fcdd4d52af45572",
"url": "https://osv.dev/vulnerability/CVE-2024-7594",
"method": "structured",
"payload": {
"kind": "advisory",
"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.",
"evidence": "osv:CVE-2024-7594",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-7594",
"aliases": [
"BIT-openbao-2024-7594",
"BIT-vault-2024-7594",
"CVE-2024-7594",
"GHSA-jg74-mwgw-v6x3",
"GO-2024-3162"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hashicorp/vault",
"type": "GIT",
"events": [
{
"introduced": "77b9623370a1da48362693d606ef28f678018378"
},
{
"fixed": "69a720d5d940bfcd590d7c24f3c98f178673d796"
},
{
"introduced": "72850df1bc10581b74ba5f0f7b3736f31c034235"
},
{
"fixed": "69a720d5d940bfcd590d7c24f3c98f178673d796"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*",
"range": [
{
"introduced": "1.7.7"
},
{
"fixed": "1.17.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "1.17.0"
},
{
"fixed": "1.17.6"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/openbao/openbao",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "96853bb4de27ab8ffd1b0c2898c691460d43edeb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.17.5",
"v1.17.4",
"v1.17.3",
"v1.17.2",
"v1.17.1",
"v1.17.0",
"v2.0.1",
"v2.0.0",
"v2.0.0-beta20240618",
"sdk/v1.100.0-development20240408",
"api/v1.100.0-development20240408",
"api/auth/userpass/v1.1.0-development20240408",
"api/auth/ldap/v1.1.0-development20240408",
"api/auth/kubernetes/v1.1.0-development20240408",
"api/auth/gcp/v1.1.0-development20240408",
"api/auth/azure/v1.1.0-development20240408",
"api/auth/aws/v1.1.0-development20240408",
"api/auth/approle/v1.1.0-development20240408",
"v2.0.0-alpha20240329",
"before-plugin-removal",
"api/auth/userpass/v0.4.1",
"api/auth/gcp/v0.4.1",
"api/auth/azure/v0.4.1",
"api/auth/aws/v0.4.1",
"api/auth/approle/v0.4.1",
"sdk/v0.9.1",
"api/v1.9.2",
"api/v1.9.1",
"sdk/v0.9.0",
"api/auth/userpass/v0.4.0",
"api/auth/gcp/v0.4.0",
"api/auth/azure/v0.4.0",
"api/auth/aws/v0.4.0",
"api/auth/approle/v0.4.0",
"sdk/v0.8.0",
"api/v1.9.0",
"api/v1.8.3",
"sdk/v0.7.0",
"sdk/v0.6.2",
"sdk/v0.6.1",
"api/v1.8.2",
"api/v1.8.1",
"api/auth/userpass/v0.3.0",
"api/auth/gcp/v0.3.0",
"api/auth/azure/v0.3.0",
"api/auth/aws/v0.3.0",
"api/auth/approle/v0.3.0",
"api/v1.8.0",
"sdk/v0.6.0",
"api/auth/userpass/v0.2.0",
"api/auth/gcp/v0.2.0",
"api/auth/azure/v0.2.0",
"api/auth/aws/v0.2.0",
"api/auth/approle/v0.2.0",
"sdk/v0.5.3",
"api/v1.7.2",
"sdk/v0.5.1",
"api/v1.7.1",
"api/v1.7.0",
"api/v1.6.0",
"sdk/v0.5.0",
"api/v1.5.0",
"sdk/v0.4.1",
"api/v1.3.1",
"api/auth/approle/v0.1.1",
"api/auth/gcp/v0.1.0",
"api/auth/azure/v0.1.0",
"api/auth/userpass/v0.1.0",
"api/auth/aws/v0.1.0",
"api/auth/approle/v0.1.0",
"sdk/v0.3.0",
"api/v1.2.0",
"api/v1.1.1",
"sdk/v0.2.1",
"api/v1.0.4",
"sdk/v0.1.13",
"api/v1.0.3",
"sdk/v0.1.12",
"sdk/v0.1.11",
"sdk/v0.1.10",
"api/v1.0.2",
"sdk/v0.1.9",
"api/v1.0.1",
"sdk/v0.1.8"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7594.json"
}
}
],
"modified": "2026-10-28T02:30:23.730832492Z",
"provider": "osv",
"references": [
"https://discuss.hashicorp.com/t/hcsec-2024-20-vault-ssh-secrets-engine-configuration-did-not-restrict-valid-principals-by-default/70251",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7594.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-7594",
"https://security.netapp.com/advisory/ntap-20250110-0007/",
"https://github.com/hashicorp/vault"
],
"provider_metadata": {
"cwe_ids": [
"CWE-732"
],
"cna_assigner": "HashiCorp",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "1.7.7"
},
{
"fixed": "1.16.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "ChangesAt"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7594.json"
}
},
"related_cves": [
{
"value": "CVE-2024-7594",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490251,
"published_at": "2024-09-26T19:52:55.652+00:00"
}