Advisory record · GHSA-6x6c-w9w9-hv4h

Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname

CVSS 5.9 MediumEPSS 0.0050 · 43rd percentile

Published by the GitHub Advisory Database at 8 Sept 2026, 18:14 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/infracost/infracostGo<0.10.450.10.45
Identifiers
GHSA-6x6c-w9w9-hv4h · CVE-2026-71494 · GO-2026-6437
Weakness (CWE)
CWE-522
Published
8 Sept 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Infracost, the Go package github.com/infracost/infracost, versions before 0.10.45 can attach a configured Terraform Cloud or registry token to a request sent to a hostname taken from scanned Terraform, without checking that the host is trusted. An attacker who can supply Terraform to a run that also has a token present, such as under pull_request_target or a same-repository pull request, could receive that token. Upgrade to 0.10.45 or later, which sends the token only to the trusted host.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.9 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0050, the 43rd percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:13 UTC First seen by agentprime
  2. 31 Oct 2026, 14:13 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.