Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/terraform-provider-vault
  4. ›
  5. CVE-2025-13357

CVE-2025-13357: Vault’s Terraform Provider incorrectly set default deny_null_bind parameter for LDAP auth method to false by default

November 21, 2025 (updated November 27, 2025)

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.

References

  • discuss.hashicorp.com/t/hcsec-2025-33-vault-terraform-provider-applied-incorrect-defaults-for-ldap-auth-method/76822
  • github.com/advisories/GHSA-gmm6-j2g5-r52m
  • github.com/hashicorp/terraform-provider-vault
  • github.com/hashicorp/terraform-provider-vault/commit/882bc7f409acc99c872c345edd65159d9568589a
  • github.com/hashicorp/terraform-provider-vault/pull/2622
  • github.com/hashicorp/terraform-provider-vault/releases/tag/v5.5.0
  • nvd.nist.gov/vuln/detail/CVE-2025-13357

Code Behaviors & Features

Detect and mitigate CVE-2025-13357 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.5.0

Fixed versions

  • 5.5.0

Solution

Upgrade to version 5.5.0 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1188: Initialization of a Resource with an Insecure Default

Source file

go/github.com/hashicorp/terraform-provider-vault/CVE-2025-13357.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:41 +0000.