CVE-2026-71494

Medium

Description

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductGithub.com/infracost/infracost
PublishedAug 21, 2026
First seenAug 21, 2026
Weakness typeCWE-522CWE-522

How to fix

Update
  • github.com/infracost/infracost0.10.45 or later

Affected products

ProductAffected versionsFixed in
github.com/infracost/infracostGov < 0.10.450.10.45

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-71494 · Github.com/infracost/infracost · Dark Radar