Path traversal in Infracost app mode leaks files from the runner
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
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
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
- 2026-12-04 Threatist record created from CVE-2026-144570
- 2026-12-04 Alias added: GHSA-2crf-f87f-jj9w
- 2026-12-04 CISA SSVC decision points changed
References
Patch 2
More infracost vulnerabilities
- 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
- CVE-2026-144570 · CVE Program
- CVE-2026-144570 · NVD
- FIRST EPSS
- GHSA-2crf-f87f-jj9w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences