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.
CVSS
MEDIUM 5.3 · v4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
REFERENCES
- 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/commit/4af5d249015b68175543fd0b740034545be46d69
- https://github.com/infracost/infracost/pull/3654
- 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
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.