Skip to content
Fencer Vulns
high 7.5

CVE-2024-7594 json

Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default

published 2024-09-26 2 y ago modified 2026-09-10 1 mo ago also BIT-openbao-2024-7594 , BIT-vault-2024-7594 , EUVD-2024-2820 , GHSA-jg74-mwgw-v6x3 , GO-2024-3162

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 19%
public exploits
0
none known

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.

Patch / fix

  • go github.com/hashicorp/vault 1.17.6
  • go github.com/openbao/openbao 0.0.0-20241003222810-d5b4e9224698
  • bitnami openbao 2.0.2
  • bitnami vault 1.17.6
  • HashiCorp Vault 1.17.6
  • HashiCorp Vault Enterprise 1.15.15, 1.16.10, 1.17.6
  • hashicorp vault_enterprise 1.17.6
  • hashicorp vault_community_edition 1.17.6
  • govulncheck-vulndb SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 0.0.20241030T212825-150000.1.9.1

suse advisories SUSE-SU-2024:3911-1

  • govulncheck-vulndb Package Hub 12 0.0.20241104T154416-5.1
  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20241030T212825-1.1

opensuse advisories openSUSE-SU-2024:0350-1openSUSE-SU-2024:14447-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-7594 updated cvss 7.5

hashicorp/vault: Vault SSH secrets engine configuration did not restrict valid principals by default

  • Red Hat Openshift Container Storage 4 ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operator, ocs4/rook-ceph-rhel8-operator
    affected: workaround, no fix available
  • Red Hat Openshift Container Storage 4 ocs4/cephcsi-rhel8, ocs4/ocs-must-gather-rhel8 Red Hat Openshift Data Foundation 4 odf4/cephcsi-rhel9, odf4/mcg-cli-rhel9, odf4/odf-cli-rhel9, odf4/mcg-rhel9-operator, odf4/ocs-rhel9-operator, odf4/odf-rhel8-operator, +4 more Red Hat Trusted Artifact Signer ec-rhel9, cosign-rhel9, fulcio-rhel9, rekor-cli-rhel9, tuf-server-rhel9, rekor-server-rhel9, +8 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/hashicorp/vault
>=1.7.7, <1.17.6
1.17.6
go github.com/openbao/openbao
>=0.1.0
<0.0.0-20241003222810-d5b4e9224698
0.0.0-20241003222810-d5b4e9224698
bitnami openbao
<2.0.2
2.0.2
bitnami vault
>=1.7.7, <1.17.6
1.17.6

Affected products

  • HashiCorp Vault
  • HashiCorp Vault Enterprise
  • hashicorp vault_enterprise
  • hashicorp vault_community_edition

Classification

Weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.