{"schemaVersion":4,"id":"CVE-2026-71494","aliases":["GHSA-6x6c-w9w9-hv4h","GO-2026-6437"],"status":"published","duplicateOf":null,"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 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.","dates":{"published":"2026-08-21T17:50:43.655Z","modified":"2026-08-21T19:23:57.520Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":5.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00367,"percentile":0.32512,"severity":"low","asOf":"2026-12-05T00:00:00.000Z","change":{"pp":-0.133,"baselineDate":"2026-11-05T00:00:00.000Z","baselineScore":0.005},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00367,"percentile":0.32512}],"last30":[{"date":"2026-11-05T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00367,"percentile":0.32512}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-522","name":"Insufficiently Protected Credentials","description":"The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/522.html"}],"affected":[{"vendor":"github.com/infracost","product":"infracost","name":"github.com/infracost/infracost","label":"infracost","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/infracost/infracost","purlType":"golang","versions":[{"text":"< 0.10.45","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.10.45","endInclusive":false}}],"versionsText":"< 0.10.45","eol":null,"hubHref":null},{"vendor":"infracost","product":"infracost","name":"infracost","label":"infracost","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.10.45","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.10.45","endInclusive":false}}],"versionsText":"< 0.10.45","eol":null,"hubHref":"/vendor/infracost/infracost"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/infracost/infracost/security/advisories/GHSA-6x6c-w9w9-hv4h","label":"github.com/infracost/infracost/security/advisories/GHSA-6x6c-w9w9-hv4h","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/infracost/infracost/pull/3590","label":"github.com/infracost/infracost/pull/3590","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/infracost/infracost/commit/3d24c757f5e4e60c7259f1b89ad7ceaabcfca86f","label":"github.com/infracost/infracost/commit/3d24c757f5e4e60c7259f1b89ad7ceaabcfca86f","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/infracost/infracost/releases/tag/v0.10.45","label":"github.com/infracost/infracost/releases/tag/v0.10.45","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71494","label":"nvd.nist.gov/vuln/detail/CVE-2026-71494","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/infracost/infracost","label":"github.com/infracost/infracost","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21897-1","SUSE-SU-2026:23855-1","SUSE-SU-2026:23863-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21897-1","SUSE-SU-2026:23855-1","SUSE-SU-2026:23863-1"]},"timeline":[{"kind":"published","date":"2026-08-21T17:50:43.655Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-21T19:23:57.520Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,59],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-05T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00367,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-08-21T19:23:57.520Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0","headline":true},{"type":"cvss","source":"osv_go","date":"2026-08-21T19:23:57.520Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-08-21T19:23:57.520Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-08-21T19:23:15.884Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00367,"date":"2026-12-05T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T14:07:05.061Z","stale":false,"partial":false}}