CVE-2026-71494
MEDIUM 5.9CVSS 4.0Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname
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
- 21 Aug 2026
- Last modified
- 14 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-522
- Also known as
- GHSA-6x6c-w9w9-hv4hGO-2026-6437
- Sources
- NVDJSONOSV GHSA-6x6c-w9w9-hv4hJSONOSV GO-2026-6437JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.9 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/infracost/infracost | < 0.10.45 | 0.10.45 |
References
- https://github.com/infracost/infracost/commit/3d24c757f5e4e60c7259f1b89ad7ceaabcfca86f · WEB, FIX
- https://github.com/infracost/infracost/pull/3590 · WEB, FIX
- https://github.com/infracost/infracost/releases/tag/v0.10.45 · WEB
- https://github.com/infracost/infracost/security/advisories/GHSA-6x6c-w9w9-hv4h · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-71494 · ADVISORY
- https://github.com/infracost/infracost · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 21 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Sep 2026)