CVE-2026-144570
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| infracost | infracost | {"endExcluding":"0.10.52"} | 0.10.52 |
References
- https://github.com/infracost/infracost/blob/v0.10.51/internal/hcl/parser.go#L740-L763
- https://github.com/infracost/infracost/blob/v0.10.51/internal/hcl/modules/loader.go#L319-L363
- https://github.com/infracost/infracost/pull/3654
- https://github.com/infracost/infracost/commit/4af5d249015b68175543fd0b740034545be46d69
- https://github.com/infracost/infracost/releases/tag/v0.10.52
- https://www.vulncheck.com/advisories/infracost-before-0.10.52-app-mode-path-traversal-via-var-files-and-modules
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.