Read the docs

Path traversal in Infracost app mode leaks files from the runner

Priority LOW 25CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.

Summary

Infracost before 0.10.52 contains a path traversal flaw in app mode, classified as CWE-22. A pull request author can load files outside the repository root through terraform_var_files, symlinked .tfvars files, and local module sources. An attacker with low privileges can point these paths at credential files or other checkouts on the runner, leaking their values into cost output and pull request comments.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

Infracost before 0.10.52 contains a path traversal vulnerability in app mode that allows pull request authors to load files outside the repository root through terraform_var_files, symlinked .tfvars files, and local module sources. Attackers can point these paths at HCL- or JSON-formatted files on the runner, such as credential files or other checkouts, to leak their values into cost output and pull request comments.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00753 56th percentileScored 2026-12-04
Fix Fixed infracost (infracost): 0.10.52

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
infracostinfracostbefore 0.10.520.10.52Patch availableCNA
  • infracost Vendorinfracost Affected before 0.10.52 Fixed in 0.10.52 Patch available CNA

Remediation

Update infracost to version 0.10.52 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA infracost (infracost) Fixed in 0.10.52

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-144570
  2. 2026-12-04 Alias added: GHSA-2crf-f87f-jj9w
  3. 2026-12-04 CISA SSVC decision points changed

References

  • TI-2026-103915 Script injection via pull request title in Infracost GitHub Action CVSS 4.0HIGH 7.4
  • TI-2026-50101 Infracost: Arbitrary file read via config-template readFile symlink traversal CVSS 4.0MEDIUM 5.9
  • TI-2026-50102 Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname CVSS 4.0MEDIUM 5.9

Sources