{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-71494","id":"CVE-2026-71494","title":"Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname","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","descriptionLong":"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.","published":"2026-08-21T17:50:43.655Z","updated":"2026-10-28T02:31:05.428742868Z","reserved":"2026-08-06T19:56:23.725Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.9,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.9,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["infracost"],"affectedProducts":[{"vendor":"infracost","product":"infracost","defaultStatus":null,"versions":[{"version":"< 0.10.45","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/infracost/infracost","purl":"pkg:golang/github.com/infracost/infracost","ranges":["<0.10.45"],"fixed":["0.10.45"],"advisory":"GHSA-6x6c-w9w9-hv4h"}],"cwes":["CWE-522"],"aliases":["GHSA-6x6c-w9w9-hv4h","GO-2026-6437"],"references":[{"url":"https://github.com/infracost/infracost/security/advisories/GHSA-6x6c-w9w9-hv4h","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/infracost/infracost/pull/3590","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/infracost/infracost/commit/3d24c757f5e4e60c7259f1b89ad7ceaabcfca86f","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/infracost/infracost/releases/tag/v0.10.45","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71494.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71494","tags":["advisory"]},{"url":"https://github.com/infracost/infracost","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.005,"epssPercentile":0.43546,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-71494","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71494","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-71494","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6x6c-w9w9-hv4h","ok":true,"note":"GHSA-6x6c-w9w9-hv4h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-71494","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}