—
GO-2026-5571
OpenTofu: Possible arbitrary file read during certain git operations via a maliciously crafted URL in github.com/opentofu/opentofu
Quick fix
GO-2026-5571 — github.com/opentofu/opentofu: upgrade to the fixed version with the command below.
go get github.com/opentofu/opentofu@v1.11.10Details
OpenTofu: Possible arbitrary file read during certain git operations via a maliciously crafted URL in github.com/opentofu/opentofu
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/opentofu/opentofu
Introduced in:
0Fixed in: 1.11.10Fix
go get github.com/opentofu/opentofu@v1.11.10References
- https://github.com/opentofu/opentofu/security/advisories/GHSA-q7j3-v8qv-22vq[ADVISORY]
- https://github.com/opentofu/opentofu/pull/4288[FIX]
- https://github.com/opentofu/opentofu/pull/4292[FIX]
- https://github.com/opentofu/opentofu/pull/4293[FIX]
- https://github.com/advisories/GHSA-92mm-2pjq-r785[WEB]
- https://github.com/hashicorp/go-getter/releases/tag/v1.8.6[WEB]
- https://github.com/opentofu/opentofu/releases/tag/v1.11.10[WEB]
- https://github.com/opentofu/opentofu/releases/tag/v1.12.3[WEB]