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

- Severity: Medium 5.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-08-21T17:50:43.655Z
- Modified: 2026-10-14T19:10:00.297Z
- Also known as: GHSA-6x6c-w9w9-hv4h, GO-2026-6437
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:4.0 5.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

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

## Sources

- CVE List: [CVE-2026-71494](https://www.cve.org/CVERecord?id=CVE-2026-71494), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-6x6c-w9w9-hv4h](https://github.com/advisories/GHSA-6x6c-w9w9-hv4h), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6437](https://pkg.go.dev/vuln/GO-2026-6437), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-71494](https://nvd.nist.gov/vuln/detail/CVE-2026-71494), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-71494 · Whole record: https://cve.day/CVE-2026-71494.json · Rebuilt by cve.day 2026-11-25T22:59:34.808Z
