{"id":"GHSA-q7j3-v8qv-22vq","aliases":["GO-2026-5571"],"url":"https://o3.security/vulnerability/GHSA-q7j3-v8qv-22vq","summary":"OpenTofu: Possible arbitrary file read during certain git operations via a maliciously crafted URL","details":"### Impact\nPossible data exposure.\n#### Summary\nWhile downloading packages from a maliciously crafted URL, some git operations against that URL could allow arbitrary file read.\nThis might allow disclosure of confidential information.\n\n#### Details\nOpenTofu relies on [go-getter](https://github.com/hashicorp/go-getter) for downloading packages like providers and modules. While doing so from a maliciously crafted URL, the operator could be affected by confidential information disclosure. \n\nThe go-getter maintainers have recently published [CVE-2026-4660](https://github.com/advisories/GHSA-92mm-2pjq-r785) for this library which indirectly affects OpenTofu's behavior.\n\nTypical use of OpenTofu already requires caution in selection of URLs that are used to download modules and providers.\n\n### Patches\nOpenTofu v1.11.10 and v1.12.3 address these vulnerabilities by upgrading to the [hashicorp/go-getter@v1.8.6](https://github.com/hashicorp/go-getter/releases/tag/v1.8.6) that fixes this vulnerability.\n\nThe OpenTofu v1.10 series is also impacted by these vulnerabilities. However, that series is built with an older version of the library and upgrading it risks breaking the whole v1.10 series. \nFor those using OpenTofu v1.10 releases, we recommend planning an upgrade to OpenTofu v1.11.10 in the near future.\n\n### References\n* [Initial report](https://github.com/opentofu/opentofu/pull/4288)\n* [CVE-2026-4660](https://github.com/advisories/GHSA-92mm-2pjq-r785)\n* [OpenTofu v1.12 patch](https://github.com/opentofu/opentofu/pull/4293)\n* [OpenTofu v1.11 patch](https://github.com/opentofu/opentofu/pull/4292)\n* [Patched v1.12.3 version](https://github.com/opentofu/opentofu/releases/tag/v1.12.3)\n* [Patched v1.11.10 version](https://github.com/opentofu/opentofu/releases/tag/v1.11.10)","published":"2026-06-19T16:35:09Z","modified":"2026-06-25T23:11:47.943965215Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/opentofu/opentofu","fixedVersion":"1.11.10"},{"ecosystem":"Go","name":"github.com/opentofu/opentofu","fixedVersion":"1.12.3"}],"fix":{"url":"https://github.com/opentofu/opentofu/pull/4288","label":"opentofu/opentofu#4288"},"references":[{"type":"WEB","url":"https://github.com/opentofu/opentofu/security/advisories/GHSA-q7j3-v8qv-22vq"},{"type":"WEB","url":"https://github.com/opentofu/opentofu/pull/4288"},{"type":"WEB","url":"https://github.com/opentofu/opentofu/pull/4292"},{"type":"WEB","url":"https://github.com/opentofu/opentofu/pull/4293"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-92mm-2pjq-r785"},{"type":"WEB","url":"https://github.com/hashicorp/go-getter/releases/tag/v1.8.6"},{"type":"PACKAGE","url":"https://github.com/opentofu/opentofu"},{"type":"WEB","url":"https://github.com/opentofu/opentofu/releases/tag/v1.11.10"},{"type":"WEB","url":"https://github.com/opentofu/opentofu/releases/tag/v1.12.3"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-06-25T23:11:47.943965215Z"}}