CVE-2026-71494
Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname
Also known as GHSA-6x6c-w9w9-hv4h, GO-2026-6437
Mitigation
- Upgrade github.com/infracost/infracost to 0.10.45 or later.
Who should check
- Projects that depend on Go package github.com/infracost/infracost (< 0.10.45)
- Anyone running infracost < 0.10.45
Vulnerability facts
- Affected
- github.com/infracost/infracost < 0.10.45
- Fixed in
- 0.10.45
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: Active
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.50% chance of exploitation in 30 days (percentile 36, 2026-11-26)
- CWE
- CWE-522
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/infracost/infracost | < 0.10.45 | 0.10.45 | osv |
| infracost | < 0.10.45 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-71494. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-71494.md Affected: github.com/infracost/infracost < 0.10.45 Fixed in: 0.10.45 Steps: 1. Search this machine and project for github.com/infracost/infracost (Go), infracost: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-71494 being exploited?
There is no confirmed exploitation: CVE-2026-71494 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-71494?
Medium: CVSS 5.9 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-71494?
github.com/infracost/infracost < 0.10.45.
Is there a fix for CVE-2026-71494?
Yes. Fixed in 0.10.45. Upgrade github.com/infracost/infracost to 0.10.45 or later.
How do I check if I'm affected by CVE-2026-71494?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.