Vulnerabilities in pkg:golang/github.com/hashicorp/terraform-provider-vault
PACKAGECVE-2025-13357 is a HIGH (CVSS 7.4) vault’s terraform provider incorrectly set vulnerability (CWE-1188: Initialization of a Resource with an Insecure Default) affecting Github.com/hashicorp/terraform provider vault libraries in the Go ecosystem. The issue involves vault’s terraform provider incorrectly set default deny_null_bind parameter for ldap auth method to false by default. Remediation is available by upgrading affected packages to version 5.5.0.
pkg:golang/github.com/hashicorp/terraform-provider-vault
Vulnerability advisories affecting package pkg:golang/github.com/hashicorp/terraform-provider-vault. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-gmm6-j2g5-r52m | CVE-2025-13357 | HIGH | Vault’s Terraform Provider incorrectly set default deny_null_bind parameter for LDAP auth method to false by default |
CVE-2025-13357 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2025-13357
To remediate this vulnerability, upgrade all affected Github.com/hashicorp/terraform provider vault dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/hashicorp/terraform-provider-vault to 5.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/hashicorp/terraform-provider-vault
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-13357, inspect your project dependencies for Github.com/hashicorp/terraform provider vault:
inspect dependencies for github.com/hashicorp/terraform-provider-vault
Analyze the terminal output to locate any version of Github.com/hashicorp/terraform provider vault in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.5.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1188: Initialization of a Resource with an Insecure Default, where the product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure. In Github.com/hashicorp/terraform provider vault, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-13357 Affected Github.com/hashicorp/terraform provider vault Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hashicorp/terraform-provider-vault
|
Go |
< 5.5.0
|
5.5.0
|
References
Frequently Asked Questions
What is CVE-2025-13357?
Which Github.com/hashicorp/terraform provider vault versions are affected?
What version fixes CVE-2025-13357?
Is github.com/hashicorp/terraform-provider-vault affected?
What is the CVSS score of CVE-2025-13357?
What CWE is associated with CVE-2025-13357?
How can I check Go dependencies for CVE-2025-13357?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gmm6-j2g5-r52m",
"modified" : "2025-11-27T08:37:51Z",
"published" : "2025-11-21T15:31:28Z",
"aliases" : [ "CVE-2025-13357" ],
"summary" : "Vault’s Terraform Provider incorrectly set default deny_null_bind parameter for LDAP auth method to false by default",
"details" : "Vault’s Terraform Provider incorrectly set the default deny_null_bind parameter for the LDAP auth method to false by default, potentially resulting in an insecure configuration. If the underlying LDAP server allowed anonymous or unauthenticated binds, this could result in authentication bypass. This vulnerability, CVE-2025-13357, is fixed in Vault Terraform Provider v5.5.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/terraform-provider-vault"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13357"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/terraform-provider-vault/pull/2622"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/terraform-provider-vault/commit/882bc7f409acc99c872c345edd65159d9568589a"
}, {
"type" : "WEB",
"url" : "https://discuss.hashicorp.com/t/hcsec-2025-33-vault-terraform-provider-applied-incorrect-defaults-for-ldap-auth-method/76822"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-gmm6-j2g5-r52m"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hashicorp/terraform-provider-vault"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/terraform-provider-vault/releases/tag/v5.5.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1188" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-21T18:10:41Z",
"nvd_published_at" : "2025-11-21T15:15:51Z"
}
}