CVE-2025-13357 Vault Terraform Provider Applied Incorrect Defaults for LDAP Auth Method

High 7.4 Published Updated

Incorrect default settings in the Vault Terraform Provider could allow authentication bypass if the LDAP server permits anonymous binds.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-13357?

CVE-2025-13357 is a high-severity vulnerability in HashiCorp Tooling, published on 21 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-1188

Which versions are affected by CVE-2025-13357?

3 open source packages ship an affected version, including github.com/hashicorp/terraform-provider-vault. It affects 1 product.

PackageAffectedFixed in
github.com/hashicorp/terraform-provider-vault GoAll versionsNone
github.com/hashicorp/terraform-provider-vault GoAll versions5.5.0
github.com/hashicorp/terraform-provider-vault GoAll versions5.5.0

Products include Hashicorp Terraform Provider.

How do I fix CVE-2025-13357?

Upgrade github.com/hashicorp/terraform-provider-vault to 5.5.0 or later.

Is CVE-2025-13357 being exploited?

There is no known exploitation of CVE-2025-13357 in the wild and no public exploit code.

Sources

Also known as GHSA-gmm6-j2g5-r52m, GO-2025-4152.

Is CVE-2025-13357 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free