{"id":"CVE-2025-46735","aliases":["CVE-2025-46735","GHSA-4vgf-2cm4-mp7c","GO-2025-3670"],"related":[],"kind":"vulnerability","state":"published","title":"Terraform WinDNS Provider improperly sanitizes input variables in `windns_record`","summary":"Terraform WinDNS Provider allows users to manage their Windows DNS server resources through Terraform. A security issue has been found in Terraform WinDNS Provider before version `1.0.5`. The `windns_record` resource did not sanitize the input variables. This could lead to authenticated command injection in the underlyding powershell command prompt. Version 1.0.5 contains a fix for the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Terraform WinDNS Provider allows users to manage their Windows DNS server resources through Terraform. A security issue has been found in Terraform WinDNS Provider before version `1.0.5`. The `windns_record` resource did not sanitize the input variables. This could lead to authenticated command injection in the underlyding powershell command prompt. Version 1.0.5 contains a fix for the issue.","source":"cvelist"},{"lang":"en","text":"## Impact:\nA security issue has been found in `terraform-provider-windns` before version `1.0.5`. The `windns_record` resource did not santize the input variables. This can lead to authenticated command injection in the underlyding powershell command prompt.\n\n## Patches:\n\n[`83ef736 (fix: better input validation)`](https://github.com/nrkno/terraform-provider-windns/commit/c76f69610c1b502f90aaed8c4f102194530b5bce)\n  \n## Fixed versions:\n\n- `v1.0.5`","format":"markdown","source":"ghsa"},{"lang":"en","text":"Terraform WinDNS Provider improperly sanitizes input variables in `windns_record` in github.com/nrkno/terraform-provider-windns","format":"markdown","source":"go"},{"lang":"es","text":"Terraform WinDNS Provider permite a los usuarios administrar los recursos de su servidor DNS de Windows a través de Terraform. Se detectó un problema de seguridad en e Terraform WinDNS Provider anterior a la versión 1.0.5. El recurso `windns_record` no depuraba las variables de entrada. Esto podría provocar la inyección de comandos autenticados en el símbolo del sistema de PowerShell subyacente. La versión 1.0.5 contiene una solución para este problema.","source":"nvd"}],"published":"2025-05-06T16:38:44.000Z","modified":"2026-06-17T09:26:54.033Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U","score":1.1,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U","score":1.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U","rating":"LOW"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"version":"<= 1.0.4","status":"affected"}],"vendor":"nrkno","product":"terraform-provider-windns","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.4"}],"ecosystem":"Go","package":"github.com/nrkno/terraform-provider-windns","purl":"pkg:golang/github.com/nrkno/terraform-provider-windns","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/nrkno/terraform-provider-windns","purl":"pkg:golang/github.com/nrkno/terraform-provider-windns","source":"go"}],"references":[{"url":"https://github.com/nrkno/terraform-provider-windns/security/advisories/GHSA-4vgf-2cm4-mp7c","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/nrkno/terraform-provider-windns/commit/c76f69610c1b502f90aaed8c4f102194530b5bce","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46735","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/nrkno/terraform-provider-windns","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-06T19:48:30.815Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-46735","url":"https://www.cve.org/CVERecord?id=CVE-2025-46735","licence":"CVE Terms of Use","modified":"2025-05-06T19:48:41.206Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4vgf-2cm4-mp7c","url":"https://github.com/advisories/GHSA-4vgf-2cm4-mp7c","licence":"CC-BY-4.0","modified":"2025-05-15T20:41:57.312Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3670","url":"https://pkg.go.dev/vuln/GO-2025-3670","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:34.077Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-46735","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46735","licence":"Public domain","modified":"2026-06-17T09:26:54.033Z"}],"updatedAt":"2026-11-25T22:58:57.666Z","epss":{"score":0.00865,"percentile":0.56285,"date":"2026-11-30T12:00:22.000Z"}}