Read the docs
TI-2026-50102 Aliases CVE-2026-71494GHSA-6x6c-w9w9-hv4h

Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname

Priority LOW 27CWE-522Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
Present
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-522.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.005 43rd percentileScored 2026-11-07
Fix Fixed infracost (infracost): 0.10.45github.com/infracost/infracost (Go): 0.10.45

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
infracostinfracostbefore 0.10.450.10.45Patch availableCNA
—github.com/infracost/infracost (Go)before 0.10.450.10.45Patch availableGHSA-6x6c-w9w9-hv4h
  • infracost Vendorinfracost Affected before 0.10.45 Fixed in 0.10.45 Patch available CNA
  • github.com/infracost/infracost (Go) Vendor— Affected before 0.10.45 Fixed in 0.10.45 Patch available GHSA-6x6c-w9w9-hv4h

Remediation

  • Fix · CNA infracost (infracost) Fixed in 0.10.45
  • Fix · GHSA-6x6c-w9w9-hv4h github.com/infracost/infracost (Go) Fixed in 0.10.45 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-71494
  2. 2026-10-03 Alias added: GHSA-6x6c-w9w9-hv4h

References

  • TI-2026-50101 Infracost: Arbitrary file read via config-template readFile symlink traversal CVSS 4.0MEDIUM 5.9

Sources