CVE-2026-71494: Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname
Vulnerability summary
CVE-2026-71494 is a medium (CVSS 5.9) Insufficiently Protected Credentials vulnerability in infracost. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 32.5% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 21-08-2026PublishedVulnerability first disclosed.
- 21-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated5.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- NVDNIST5.9MediumCVSS: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
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
33%
Versus all other CVEs
30-day change
Decrease -0.13 pp
From 0.50% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/infracost1 product
- infracost< 0.10.45
Infracost1 product
- infracost< 0.10.45
2 vendors · 2 products
References
6 links- github.com/infracost/infracost/security/advisories/GHSA-6x6c-w9w9-hv4hX Refsource CONFIRMWEBAdvisory
- github.com/infracost/infracost/commit/3d24c757f5e4e60c7259f1b89ad7ceaabcfca86fX Refsource MISCWEBFIX