{"answers":{"affected":"3 open source packages ship an affected version, including github.com/hashicorp/terraform-provider-vault. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-13357 in the wild and no public exploit code.","fix":"Upgrade github.com/hashicorp/terraform-provider-vault to 5.5.0 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-13357 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2025-13357 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/hashicorp/terraform-provider-vault (Go): affected all versions; no fix listed\n- github.com/hashicorp/terraform-provider-vault (Go): affected all versions; fixed in 5.5.0\n- github.com/hashicorp/terraform-provider-vault (Go): affected all versions; fixed in 5.5.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-13357/ (Markdown: https://insights.sbomify.com/CVE-2025-13357/index.md)","id":"CVE-2025-13357","markdown":"https://insights.sbomify.com/CVE-2025-13357/index.md","name":"CVE-2025-13357","record":{"aliases":["GHSA-gmm6-j2g5-r52m","GO-2025-4152"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Terraform provider","requires_auth":"none","summary":"Incorrect default settings in the Vault Terraform Provider could allow authentication bypass if the LDAP server permits anonymous binds.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"HashiCorp","cpe":[{"product":"terraform_provider","vendor":"hashicorp"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Vault Terraform Provider Applied Incorrect Defaults for LDAP Auth Method","id":"CVE-2025-13357","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"misconfiguration","year":"2025"},"n_packages":3,"n_references":1,"next":{"headline":"Missing authorization in Accessiy by CodeConfig – Accessibility Widgets for ADA, EAA \u0026 WCAG Compliance","id":"CVE-2025-13358"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/terraform-provider-vault","purl":"pkg:golang/github.com/hashicorp/terraform-provider-vault","source":"GO-2025-4152"},{"ecosystem":"Go","fixed":["5.5.0"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/terraform-provider-vault","purl":null,"source":"GHSA-gmm6-j2g5-r52m"},{"ecosystem":"Go","fixed":["5.5.0"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/terraform-provider-vault","purl":"pkg:golang/github.com/hashicorp/terraform-provider-vault","source":"GHSA-gmm6-j2g5-r52m"}],"prev":{"headline":"URL Shortify \u003c 1.11.4 - Reflected XSS","id":"CVE-2025-13355"},"products":["Tooling"],"published":"2025-11-21","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2021-30476","kev_date_added":null,"published":"2021-04-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-17","vendors":["HashiCorp"]},"summary":"Incorrect default settings in the Vault Terraform Provider could allow authentication bypass if the LDAP server permits anonymous binds.","url":"https://insights.sbomify.com/CVE-2025-13357/"}