AploSec / Disclosures / CVE-2026-144570

Medium 5.3ReportedFixed in 0.10.52CWE-22Go

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

CVE-2026-144570 · published 2026-12-04

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

Summary

CVE-2026-144570 affects Infracost (Go) < 0.10.52: App-Mode Path Traversal via Var Files and Modules (CWE-22). Fixed in 0.10.52. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade Infracost to 0.10.52 or later. Releases in the affected range (< 0.10.52) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-12-04 CVE published

References

Severity
Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
Infracost
Ecosystem
Go
Affected
< 0.10.52
Fixed
0.10.52
Weakness
CWE-22
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder