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
Full release notes ↗ · all OpenTofu releases
written by claude-haiku-5-5, prompt 7cbe154, checked by publish rules