Live threats

All CVEs / Hashicorp

CVE-2021-42135Hashicorp Vault

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 57
Auth required
Yes
Published
Oct 11, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-269
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

HashiCorp Vault and Vault Enterprise 1.8.x through 1.8.4 may have an unexpected interaction between glob-related policies and the Google Cloud secrets engine. Users may, in some situations, have more privileges than intended, e.g., a user with read permission for the /gcp/roleset/* path may be able to issue Google Cloud service account credentials.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vault.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/vault ≥ 1.8.0 ≤ 1.8.4 no fixed version —
Go github.com/hashicorp/vault ≥ 1.8.0 < 1.8.5 1.8.5 go get github.com/hashicorp/vault@v1.8.5

Per OSV / GitHub Advisories (GHSA-362v-wg5p-64w2, GO-2022-0578). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpvault≥ 1.8.0 ≤ 1.8.4
hashicorpvault≥ 1.8.0 ≤ 1.8.4

Official sources

References

Links published by the sources. Open them with care.