CVE-2026-71494 Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
infracost
infracost
영향 받는 버전
- 0.10.45 미만
해결 버전
- 0.10.45 이상
참고 자료 4건
- github.com https://github.com/infracost/infracost/commit/3d24c757f5e4e60c7259f1b89ad7ceaabcfca86f (새 창)
- github.com https://github.com/infracost/infracost/pull/3590 (새 창)
- github.com https://github.com/infracost/infracost/releases/tag/v0.10.45 (새 창)
- github.com https://github.com/infracost/infracost/security/advisories/GHSA-6x6c-w9w9-hv4h (새 창)