Live threats

All CVEs / infracost

CVE-2026-71494infracost

Medium 5.9 No auth needed

Priority
50
CVSS 4.0
5.9
EPSS
—
Auth required
No
Published
Aug 21, 2026
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-522
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for infracost.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/infracost/infracost < 0.10.45 0.10.45 go get github.com/infracost/infracost@v0.10.45
Go github.com/infracost/infracost < 0.10.45 0.10.45 go get github.com/infracost/infracost@v0.10.45

Per OSV / GitHub Advisories (GHSA-6x6c-w9w9-hv4h, GO-2026-6437). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.