CVE-2025-13357
JSON

7.4high

Vault Terraform Provider Applied Incorrect Defaults for LDAP Auth Method

Severity
7.4high CVSS:3.1 by HashiCorp
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
HashiCorp
Also known as
GHSA-gmm6-j2g5-r52mGO-2025-4152

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.

Affected

Product or packageVersionsReported by
HashiCorp Toolingfrom 4.2.0 before 5.5.0CVE List
github.com/hashicorp/terraform-provider-vault (Go)before 5.5.0, all versionsGitHub Advisory Database, Go Vulnerability Database
hashicorp terraform_providerfrom 4.2.0 before 5.5.0NVD

All scores

HashiCorp7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-1188

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

Go Vulnerability Database

Vault’s Terraform Provider incorrectly set default deny_null_bind parameter for LDAP auth method to false by default in github.com/hashicorp/terraform-provider-vault.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/hashicorp/terraform-provider-vault before v5.5.0.

NVD (es)

El proveedor de Terraform de Vault configuró incorrectamente el parámetro predeterminado deny_null_bind para el método de autenticación LDAP a falso por defecto, lo que podría resultar en una configuración insegura. Si el servidor LDAP subyacente permitía enlaces anónimos o no autenticados, esto podría resultar en una omisión de autenticación. Esta vulnerabilidad, CVE-2025-13357, está corregida en el proveedor de Terraform de Vault v5.5.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-13357 changed 2026-04-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-gmm6-j2g5-r52m changed 2025-11-27CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4152 changed 2025-11-25CC-BY-4.0
NVDCVE-2025-13357 changed 2026-10-08Public domain