GHSA-q7j3-v8qv-22vq
OpenTofu: Possible arbitrary file read during certain git operations via a maliciously crafted URL
GHSA-q7j3-v8qv-22vq is a high vulnerability (CVSS 7.5) in github.com/opentofu/opentofu, published June 19, 2026. No source lists public exploit code. Fixed in github.com/opentofu/opentofu 1.11.10.
- Severity
- 7.5 HighCVSS 3.1, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
1.11.10github.com/opentofu/opentofu +4 more
Description
Impact
Possible data exposure.
Summary
While downloading packages from a maliciously crafted URL, some git operations against that URL could allow arbitrary file read. This might allow disclosure of confidential information.
Details
OpenTofu relies on 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.
The go-getter maintainers have recently published CVE-2026-4660 for this library which indirectly affects OpenTofu's behavior.
Typical use of OpenTofu already requires caution in selection of URLs that are used to download modules and providers.
Patches
OpenTofu v1.11.10 and v1.12.3 address these vulnerabilities by upgrading to the hashicorp/go-getter@v1.8.6 that fixes this vulnerability.
The 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. For those using OpenTofu v1.10 releases, we recommend planning an upgrade to OpenTofu v1.11.10 in the near future.
References
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/opentofu/opentofuGo | before 1.11.10 | 1.11.10 |
github.com/opentofu/opentofuGo | 1.12.0-beta1 up to 1.12.3 | 1.12.3 |
github.com/opentofu/opentofuGo | before 1.11.10, 1.12.0-beta1 up to 1.12.3 | 1.11.101.12.3 |
github.com/opentofu/opentofuRoot:Go | before v1.11.3-aikido.1 | v1.11.3-aikido.1 |
rootio-github.com/opentofu/opentofuRoot:Go | before v1.11.3-root.io.1 | v1.11.3-root.io.1 |
What each source reports
GitHub Advisories Score used 7.5
OpenTofu: Possible arbitrary file read during certain git operations via a maliciously crafted URL
Impact
Possible data exposure.
Summary
While downloading packages from a maliciously crafted URL, some git operations against that URL could allow arbitrary file read. This might allow disclosure of confidential information.
Details
OpenTofu relies on 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.
The go-getter maintainers have recently published CVE-2026-4660 for this library which indirectly affects OpenTofu's behavior.
Typical use of OpenTofu already requires caution in selection of URLs that are used to download modules and providers.
Patches
OpenTofu v1.11.10 and v1.12.3 address these vulnerabilities by upgrading to the hashicorp/go-getter@v1.8.6 that fixes this vulnerability.
The 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. For those using OpenTofu v1.10 releases, we recommend planning an upgrade to OpenTofu v1.11.10 in the near future.
References
- Record
GHSA-q7j3-v8qv-22vq- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-1395
- Updated
- 2026-11-02
OSV 7.5
OpenTofu: Possible arbitrary file read during certain git operations via a maliciously crafted URL
Impact
Possible data exposure.
Summary
While downloading packages from a maliciously crafted URL, some git operations against that URL could allow arbitrary file read. This might allow disclosure of confidential information.
Details
OpenTofu relies on 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.
The go-getter maintainers have recently published CVE-2026-4660 for this library which indirectly affects OpenTofu's behavior.
Typical use of OpenTofu already requires caution in selection of URLs that are used to download modules and providers.
Patches
OpenTofu v1.11.10 and v1.12.3 address these vulnerabilities by upgrading to the hashicorp/go-getter@v1.8.6 that fixes this vulnerability.
The 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. For those using OpenTofu v1.10 releases, we recommend planning an upgrade to OpenTofu v1.11.10 in the near future.
References
- Record
GHSA-q7j3-v8qv-22vq- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-1395
- Updated
- 2026-11-02
OSVGO-2026-5571No score
OpenTofu: Possible arbitrary file read during certain git operations via a maliciously crafted URL in github.com/opentofu/opentofu
OpenTofu: Possible arbitrary file read during certain git operations via a maliciously crafted URL in github.com/opentofu/opentofu
- Record
GO-2026-5571- Updated
- 2026-11-02
OSVROOT-APP-GOBINARY-GHSA-q7j3-v8qv-22vqNo score
GHSA-q7j3-v8qv-22vq in github.com/opentofu/opentofu - Patched by Root
Root has patched GHSA-q7j3-v8qv-22vq in the github.com/opentofu/opentofu package for Root:Go. Multiple fixed versions available.
- Record
ROOT-APP-GOBINARY-GHSA-q7j3-v8qv-22vq- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.