cvelo
P3 · MediumCVSS 4.3EPSS 0.8%

Infracost before 0.10.52 App-Mode Path Traversal via Var Files and Modules

  • CVE-2026-144570
  • GHSA-2crf-f87f-jj9w
  • EUVD-2026-143877

Summary

Infracost versions before 0.10.52 contain a path traversal weakness when running in app mode. Pull request authors can abuse the terraform_var_files setting, symlinked .tfvars files, and local module sources to make Infracost load files located outside the repository root. Because the attacker can point these paths at HCL or JSON files on the runner, such as credential files or other checkouts, the values in those files may be exposed in cost output and pull request comments. The record is rated CVSS 4.3 and is not listed in the CISA known exploited vulnerabilities catalog. Teams running Infracost app mode on untrusted pull requests should prioritize upgrading to 0.10.52 or later.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

  • infracost

    • If you run a version before 0.10.52update to 0.10.52 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • infracost

    Affected versionsFixed in
    before 0.10.520.10.52

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.