NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

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

highCVSS 4.0 7.7 · 3.1 7.5GHSA-jg74-mwgw-v6x3

Vault’s SSH secrets engine did not require the validprincipals list to contain a value by default. If the validprincipals and defaultuser 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.

Published Sep 26, 2024 · Updated Aug 12, 2025

Affected packages

github.com/hashicorp/vault

Ecosystem
Go
Affected
>= 1.7.7, < 1.17.6
Fixed in
1.17.6
Check
go list -m github.com/hashicorp/vault

github.com/openbao/openbao

Ecosystem
Go
Affected
>= 0.1.0, < 2.0.2
Fixed in
No patched version yet
Check
go list -m github.com/openbao/openbao

github.com/openbao/openbao

Ecosystem
Go
Affected
< 0.0.0-20241003222810-d5b4e9224698
Fixed in
0.0.0-20241003222810-d5b4e9224698
Check
go list -m github.com/openbao/openbao

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to westonsteimel, cipherboy.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries