Skip to main content
← All vulnerabilities
CVE-2026-71494GHSA-6X6C-W9W9-HV4HGO-2026-6437

Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.10.45
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Infracost provides cloud cost intelligence for engineers, AI coding agents, and CI/CD. Prior to 0.10.45, internal/hcl/remote_variables_loader.go and related Terraform Cloud, remote-plan, and Terragrunt registry request paths can attach a configured Terraform Cloud or registry token to a destination hostname derived from untrusted Terraform input without confirming that it is the configured trusted host. When a CI run provides a token while scanning attacker-controlled Terraform, including pull_request_target or a same-repository pull request, an attacker can direct the request to an attacker-controlled host and disclose the token. Standard fork pull_request workflows without secrets are not exposed. This issue is fixed in version 0.10.45.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • infracost infracost

    fixed in 0.10.45

  • github.com/infracost/infracostGo

    fixed in 0.10.45

References 4

GitHub · infracost/infracost