# CVE-2026-71494: Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-21 · Modified: 2026-08-21
- Aliases: GHSA-6x6c-w9w9-hv4h, GO-2026-6437
- Record: https://cvemate.com/vulnerability/CVE-2026-71494 · JSON: https://cvemate.com/vulnerability/CVE-2026-71494/json

## 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.
```

## Signals

- CVSS: 5.9 medium (v4.0, CVE.org) 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
- EPSS: 0.367%, percentile 32.525%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/infracost infracost (Go): \< 0.10.45
- infracost infracost: \< 0.10.45

## References

- <https://github.com/infracost/infracost/security/advisories/GHSA-6x6c-w9w9-hv4h>
- <https://github.com/infracost/infracost/pull/3590>
- <https://github.com/infracost/infracost/commit/3d24c757f5e4e60c7259f1b89ad7ceaabcfca86f>
- <https://github.com/infracost/infracost/releases/tag/v0.10.45>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-71494>
- <https://github.com/infracost/infracost>

---

Data as of 2026-12-05T14:01:48.128Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
