Infracost before 0.10.52 contains a path traversal vulnerability in app mode that allows pull request authors to load
Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 0.10.52 when convenient.
Data as of 4 Dec 2026, 04:45 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.3 |
- Patch
- Available – fixed in 0.10.52
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade infracost to 0.10.52.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| infracostinfracost | Affected
| Fixed in
|
Goinfracostpkg:golang/infracostOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Infracost to version 0.10.52 or later, where this path traversal vulnerability is fixed. No other mitigation or temporary workaround is indicated. Since this is not a cloud service, remediation depends on applying the official fix.
Description
Infracost versions before 0.10.52 have a path traversal vulnerability in app mode. This flaw allows pull request authors to load files outside the repository root by exploiting terraform_var_files, symlinked .tfvars files, and local module sources. Malicious actors can use this to access HCL- or JSON-formatted files on the runner, including sensitive credential files or other checkouts, leaking their contents into cost output and pull request comments.
References
- nvd.nist.gov/vuln/detail/CVE-2026-144570 (opens in a new tab)
- github.com/infracost/infracost/pull/3654 (opens in a new tab)
- github.com/infracost/infracost/commit/4af5d249015b68175543fd0b740034545be46d69 (opens in a new tab)
- github.com/infracost/infracost/blob/v0.10.51/internal/hcl/modules/loader.go (opens in a new tab)
- github.com/infracost/infracost/blob/v0.10.51/internal/hcl/parser.go (opens in a new tab)
- github.com/infracost/infracost/releases/tag/v0.10.52 (opens in a new tab)
- vulncheck.com/advisories/infracost-before-0.10.52-app-mode-path-traversal-via-var-files-and-modules (opens in a new tab)