GHSA-2crf-f87f-jj9wMediumCVSS 4.3
Infracost before 0.10.52 contains a path traversal vulnerability in app mode that allows pull...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-144570
- https://github.com/infracost/infracost/pull/3654
- https://github.com/infracost/infracost/commit/4af5d249015b68175543fd0b740034545be46d69
- https://github.com/infracost/infracost/blob/v0.10.51/internal/hcl/modules/loader.go#L319-L363
- https://github.com/infracost/infracost/blob/v0.10.51/internal/hcl/parser.go#L740-L763
- 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
- https://github.com/advisories/GHSA-2crf-f87f-jj9w