{"id":"CVE-2026-71494","published":"2026-08-21T17:50:43Z","modified":"2026-08-21T19:23:57Z","title":"Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname","vendor":"infracost","product":"infracost","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.005,"percentile":0.43758,"provenance":"source"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/infracost/infracost/security/advisories/GHSA-6x6c-w9w9-hv4h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/infracost/infracost/pull/3590","tags":["x_refsource_MISC"]},{"url":"https://github.com/infracost/infracost/commit/3d24c757f5e4e60c7259f1b89ad7ceaabcfca86f","tags":["x_refsource_MISC"]},{"url":"https://github.com/infracost/infracost/releases/tag/v0.10.45","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":8.75},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"infracost","affectedVersions":[{"vendor":"infracost","product":"infracost","versions":["< 0.10.45"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-21T19:23:15.884212Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/infracost/infracost","vulnerableRanges":["<0.10.45"],"patched":["0.10.45"],"from":["GHSA-6x6c-w9w9-hv4h","GO-2026-6437"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-64019","exploited":false,"provenance":"source"}}