platformchangelog.dev
45 tools
feedrelease

OpenTofu 1.12.13

security**!!!

OpenTofu v1.12.13 upgrades the Go toolchain to 1.26.11 to address GO-2026-6859, an HTTP/1 server crash caused by a MaxBytesReader header race. It also changes SSH connections for provisioners to use bastion_host_key instead of host_key, which the release notes describe as a security fix. Provider metadata downloads from network mirrors now bound the read size using the Content-Length header, and a regression in provider configuration parallelization is fixed.

What changes for platform teams

Teams that use host_key together with bastion configurations must add bastion_host_key set to the same value as host_key, or their provisioner SSH connections will change behavior. Teams using network mirrors get bounded metadata reads.

Changes

  • Upgrade Go toolchain to 1.26.11 to address GO-2026-6859, an HTTP/1 server crash due to a MaxBytesReader header race.security
  • Ssh connection for provisioners now uses bastion_host_key correctly instead of using the host_key as it did before.security
  • This change can be considered also a breaking change for those that use host_key and bastion configurations. Before this change host_key was used instead of bastion_host_key. If you are in a situation like that, you need to add the bastion_host_key configuration pointing to the same value as host_key.security
  • Downloading metadata of a provider from a network mirror now bounds the read bytes based on the received Content-Length headerfixed
  • Fix regression in provider configuration parallelization.fixed
5 lines3 security2 fixedtyped from the source notes

Full release notes ↗ · all OpenTofu releases

written by claude-haiku-5-5, prompt 7cbe154, checked by publish rules

Report a mistake

context

Tools

OpenTofu

Other OpenTofu releases

How this was written

The change list is the project's own release notes, sorted into change types by fixed rules. The summary was written from the original by the model named above, checked by fixed publishing rules, and read by an editor after publication. See the methodology.

Back to the feed

OpenTofu 1.12.13 release notes | Platform Changelog