CVE-2026-144570: Infracost before 0.10.52 App-Mode Path Traversal via Var Files and Modules

Published Dec 4, 2026
·
Updated

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 terraformvarfiles, 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.

Affected Software

1 affected component
Infracost Infracost<0.10.52

Event History

Dec 4, 2026
CVE Published
via MITRE·01:09 AM
Data Sourced
via MITRE·01:09 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue in practice?

A pull request author can exploit it where Infracost runs in app mode against pull request content. The attacker needs the ability to supply terraform_var_files, a symlinked .tfvars file, or a local Terraform module source in that content.

2

What data could be exposed?

Files outside the repository root can be loaded if they are HCL- or JSON-formatted. This can expose values from runner credential files or other checkouts through cost output and pull request comments.

3

Are deployments using version 0.10.52 affected?

The issue affects Infracost versions before 0.10.52. Version 0.10.52 is not identified as affected by the provided information.

4

What should be prioritized if immediate upgrading is not possible?

Restrict untrusted pull request authors from influencing terraform_var_files, symlinked .tfvars files, and local module sources used by app-mode runs. Also treat cost output and pull request comments from affected runs as potential channels for disclosure of runner-resident data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203