Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| HashiCorp | Vault | 1.7.7 to before 1.17.6 | 1.17.6 | Patch available | CNA |
| HashiCorp | Vault Enterprise | 1.7.7 to before 1.17.6 | 1.17.6 | Patch available | CNA |
| — | github.com/hashicorp/vault (Go) | 1.7.7 to before 1.17.6 | 1.17.6 | Patch available | GHSA-jg74-mwgw-v6x3 |
| — | github.com/openbao/openbao (Go) | 0.1.0 and later | — | No fix listed | GHSA-jg74-mwgw-v6x3 |
| — | github.com/openbao/openbao (Go) | before 0.0.0-20241003222810-d5b4e9224698 | 0.0.0-20241003222810-d5b4e9224698 | Patch available | GHSA-jg74-mwgw-v6x3 |
- Vault VendorHashiCorp Affected 1.7.7 to before 1.17.6 Fixed in 1.17.6 Patch available CNA
- Vault Enterprise VendorHashiCorp Affected 1.7.7 to before 1.17.6 Fixed in 1.17.6 Patch available CNA
- github.com/hashicorp/vault (Go) Vendor— Affected 1.7.7 to before 1.17.6 Fixed in 1.17.6 Patch available GHSA-jg74-mwgw-v6x3
- github.com/openbao/openbao (Go) Vendor— Affected 0.1.0 and later Fixed in — No fix listed GHSA-jg74-mwgw-v6x3
- github.com/openbao/openbao (Go) Vendor— Affected before 0.0.0-20241003222810-d5b4e9224698 Fixed in 0.0.0-20241003222810-d5b4e9224698 Patch available GHSA-jg74-mwgw-v6x3
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* | 1.7.7 to before 1.15.15 | Vulnerable | HashiCorp |
| cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* | 1.7.7 to before 1.17.6 | Vulnerable | HashiCorp |
| cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* | 1.16.0 to before 1.16.10; 1.17.0 to before 1.17.6 | Vulnerable | HashiCorp |
| cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:* | before 2.0.2 | Vulnerable | openbao |
- cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* Versions 1.7.7 to before 1.15.15 Vulnerable ·HashiCorp
- cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* Versions 1.7.7 to before 1.17.6 Vulnerable ·HashiCorp
- cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* Versions 1.16.0 to before 1.16.10; 1.17.0 to before 1.17.6 Vulnerable ·HashiCorp
- cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:* Versions before 2.0.2 Vulnerable ·openbao
Remediation
- Fix · CNA Vault (HashiCorp) Fixed in 1.17.6
- Fix · CNA Vault Enterprise (HashiCorp) Fixed in 1.17.6
- Fix · GHSA-jg74-mwgw-v6x3 github.com/hashicorp/vault (Go) Fixed in 1.17.6 Advisory →
- Fix · GHSA-jg74-mwgw-v6x3 github.com/openbao/openbao (Go) Fixed in 0.0.0-20241003222810-d5b4e9224698 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Openshift Container Storage 4 | Affected | No fix yet |
Not affected: 3 products
- Red Hat Openshift Container Storage 4
- Red Hat Openshift Data Foundation 4
- Red Hat Trusted Artifact Signer
Timeline
- 2026-10-02 Threatist record created from CVE-2024-7594
- 2026-10-03 Alias added: GHSA-jg74-mwgw-v6x3
References
Advisory 3
Other 6
More HashiCorp Vault vulnerabilities
- TI-2024-01904 Vault Cert Auth Method Did Not Correctly Validate Non-CA Certificates CVSS 3.1CRITICAL 9.8
- TI-2022-19053 An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. CVSS 3.1CRITICAL 9.1
- TI-2020-17874 The official vault docker images before 0.11.6 contain a blank password for a root user. CVSS 3.1CRITICAL 9.8
- TI-2020-10142 HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP… CVSS 3.1CRITICAL 9.8
- TI-2026-04407 Vault Vulnerable to Server-Side Request Forgery in ACME Challenge Validation via Attacker-Controlled DNS CVSS 3.1HIGH 8.6
- TI-2025-05421 Arbitrary Remote Code Execution via Plugin Catalog Abuse CVSS 3.1CRITICAL 9.1
Sources
- CVE-2024-7594 · CVE Program
- CVE-2024-7594 · NVD
- FIRST EPSS
- GHSA-jg74-mwgw-v6x3 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-7594 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences