HashiCorp Vault
CVE-2025-11621
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain AWS IAM credentials matching bound principal
-
DeliveryCall Vault AWS auth login endpoint
-
ExploitBypass cross-account role binding check
-
ExecutionAssume victim Vault role and policies
-
ImpactRead protected secrets
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Alternate path authentication
|
| Exploitation Conditions | Requires Vault's AWS Auth method to be configured so that the bound IAM principal (bound_iam_principal_arn) of a role is the SAME across multiple AWS accounts OR uses a wildcard, caused by mishandling of cache entries per HCSEC-2025-30. The attacker must possess valid AWS credentials for an IAM principal that matches that binding (PR:L), which limits exploitation to actors with some AWS foothold. Deployments using uniquely-scoped, per-account, non-wildcard bound principals are NOT exploitable, making this a non-default/misconfiguration-gated condition rather than a flaw against stock configurations. No user interaction is required (UI:N) and the Vault endpoint must be network-reachable to the attacker (AV:N). |
| Impact | Signals are mixed and point to a conditional, config-dependent flaw rather than a broadly exploitable one. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/C:H/I:H/A:N, 8.1 HIGH) indicates a network-reachable attack needing only low privileges, with high confidentiality and integrity impact - consistent with an authentication bypass (CWE-288) that lets an attacker assume another identity in Vault. However, the description constrains exploitation to a specific misconfiguration: the bound_iam_principal of the AWS Auth method being identical across AWS accounts or using a wildcard, so AC:L arguably understates the real-world precondition. EPSS is low (0.49%, 41st percentile) and there is NO CISA KEV listing and NO public POC referenced - exploitation status is 'no public exploit identified at time of analysis.' The low EPSS is consistent with the targeted, misconfiguration-gated nature of the bug rather than mass exploitation. Net: this is a credible priority ONLY for organizations whose AWS Auth configuration matches the vulnerable pattern (shared/wildcard bound principals across accounts); for correctly-scoped single-account bindings the practical risk is substantially lower than the 8.1 score suggests. Verify your actual bound_iam_principal configuration before triaging as critical. |
| Exploit ScenarioDerived | An attacker who controls AWS credentials for an IAM principal in one AWS account targets a Vault deployment whose AWS Auth role binds a principal ARN that is shared across accounts or uses a wildcard. By authenticating to Vault's AWS auth endpoint with their own matching principal, the attacker is granted the Vault identity and policies intended for a different account, bypassing the intended account isolation and reading secrets they should not access. No public exploit code has been identified; exploitation requires the specific vulnerable binding configuration plus valid AWS credentials (PR:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 18, 2026
Authentication bypass in HashiCorp Vault's AWS Auth method allows an attacker with valid AWS credentials to authenticate as a bound IAM principal when a role's bound_iam_principal_arn is identical across multiple AWS accounts or contains a wildcard. The flaw is configuration-gated: deployments using uniquely scoped, per-account, non-wildcard bindings are not exploitable, while successful exploitation can yield high confidentiality and integrity impact. It is fixed in Vault Community Edition 1.21.0 and Vault Enterprise 1.21.0, 1.20.5, 1.19.11, and 1.16.27; no public exploit identified at time of analysis, and EPSS is 0.49%.
RemediationAI
Vendor-released patch: upgrade Vault Community Edition to 1.21.0 or later and Vault Enterprise to 1.21.0, 1.20.5, 1.19.11, or 1.16.27 (or later in the applicable supported line), per HCSEC-2025-30 at https://discuss.hashicorp.com/t/hcsec-2025-30-vault-aws-auth-method-authentication-bypass-through-mishandling-of-cache-entries/76709. If patching must be delayed, audit every AWS Auth role and change bound_iam_principal_arn values so they are unique to a single AWS account and contain no wildcards; this may break legitimate cross-account or broadly scoped login flows and requires coordinated role and client updates. As a compensating control, disable the AWS Auth method if it is unused, or restrict network access to the Vault AWS auth login endpoint to trusted source ranges; disabling AWS auth breaks AWS-based authentication, and network restrictions can block legitimate clients and require allowlist maintenance. Rotate or review AWS credentials that could match overly broad bindings, since exploitation requires a valid matching IAM principal.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Vault's AWS Auth method exchanges AWS IAM credentials for a Vault token and uses role bindings such as bound_iam_principal_arn to decide which IAM principal may authenticate to which Vault role. The underlying cache handles prior authentication and identity data; per HCSEC-2025-30, mishandling of cache entries when the bound principal is shared across AWS accounts or wildcarded can create an alternate authentication path and bypass the intended principal-to-role binding, matching CWE-288 (Authentication Bypass Using an Alternate Path or Channel). CPE data identifies HashiCorp Vault Community and Enterprise, but the CPE strings are wildcarded, so exact affected ranges come from the fix versions. The independent assessment rates this AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N because the attacker needs valid AWS credentials matching the binding and the vulnerable condition is a non-default role configuration; the official CVSS score of 8.1 reflects the same confidentiality and integrity impact with AC:L, while the assessed complexity is higher.
Know when Vault gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Network-reachable login (AV:N) needing attacker-held AWS creds (PR:L); AC:H because it depends on a specific shared/wildcard bound-principal misconfiguration; secret read and identity spoofing give C:H/I:H, no availability impact.
Primary rating from Vendor (hashicorp).
CVSS VectorVendor: hashicorp
DescriptionCVE.org
Vault and Vault Enterprise’s (“Vault”) AWS Auth method may be susceptible to authentication bypass if the role of the configured bound_principal_iam is the same across AWS accounts, or uses a wildcard. This vulnerability, CVE-2025-11621, is fixed in Vault Community Edition 1.21.0 and Vault Enterprise 1.21.0, 1.20.5, 1.19.11, and 1.16.27
Executive ViewAI
A high-severity flaw in HashiCorp Vault's AWS authentication method can allow someone holding AWS credentials to gain Vault access as an IAM identity when role configurations reuse the same principal across accounts or permit wildcards, creating a path to secrets disclosure and unauthorized changes. Leadership should prioritize this where Vault AWS Auth is used, because compromised secrets can cascade into broader cloud and application access; environments with tightly scoped, account-specific bindings without wildcards are not exposed. No public exploit identified at time of analysis.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
Vault and Vault Enterprise (“Vault”) may expose sensitive information when enabling an audit device which specifies the
Vault and Vault Enterprise (“Vault”) TLS certificate auth method did not correctly validate client certificates when con
The official vault docker images before 0.11.6 contain a blank password for a root user. Rated critical severity (CVSS 9
HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly gener
An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. Rated critical severity (CVSS 9.1), this
HashiCorp Vault Enterprise 1.7.0 through 1.9.7, 1.10.4, and 1.11.0 clusters using Integrated Storage expose an unauthent
HashiCorp Vault and Vault Enterprise versions 0.11.0 through 1.3.3 may, under certain circumstances, have existing neste
Token leakage in HashiCorp Vault and Vault Enterprise (0.11.2 up to 2.0.0, 1.21.5, 1.20.10, and 1.19.16) occurs when an
Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. Rated high severity
HashiCorp Vault and Vault Enterprise versions 0.8.3 and newer, when configured with the GCP GCE auth method, may be vuln
HashiCorp Vault and Vault Enterprise versions 0.7.1 and newer, when configured with the AWS IAM auth method, may be vuln
HashiCorp Vault's KVv2 secrets engine allows authenticated users with glob-based policy access to delete secrets outside
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB