{"schemaVersion":4,"id":"CVE-2026-144570","aliases":[],"status":"published","duplicateOf":null,"title":"Infracost before 0.10.52 App-Mode Path Traversal via Var Files and Modules","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.","dates":{"published":"2026-12-04T01:09:13.576Z","modified":"2026-12-04T13:47:47.755Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.3,"severity":"medium","vector":"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:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00807,"percentile":0.58172,"severity":"low","asOf":"2026-12-05T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-04T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00807,"percentile":0.58172}],"last30":[{"date":"2026-12-04T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00807,"percentile":0.58172}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"infracost","product":"infracost","name":"infracost","label":"infracost","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.10.52","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.10.52","endInclusive":false}}],"versionsText":"< 0.10.52","eol":null,"hubHref":"/vendor/infracost/infracost"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/infracost/infracost/blob/v0.10.51/internal/hcl/parser.go#L740-L763","label":"github.com/infracost/infracost/blob/v0.10.51/internal/hcl/parser.go","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/infracost/infracost/blob/v0.10.51/internal/hcl/modules/loader.go#L319-L363","label":"github.com/infracost/infracost/blob/v0.10.51/internal/hcl/modules/loader.go","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/infracost/infracost/pull/3654","label":"github.com/infracost/infracost/pull/3654","hostname":"github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/infracost/infracost/commit/4af5d249015b68175543fd0b740034545be46d69","label":"github.com/infracost/infracost/commit/4af5d249015b68175543fd0b740034545be46d69","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/infracost/infracost/releases/tag/v0.10.52","label":"github.com/infracost/infracost/releases/tag/v0.10.52","hostname":"github.com","tags":["Release Notes"]},{"url":"https://www.vulncheck.com/advisories/infracost-before-0.10.52-app-mode-path-traversal-via-var-files-and-modules","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-04T01:09:13.576Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-04T13:47:47.755Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,53],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-05T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00807,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-04T13:47:47.755Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-12-04T13:47:47.755Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-12-04T13:47:47.755Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"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:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-12-04T13:47:47.755Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-04T13:46:41.042Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00807,"date":"2026-12-05T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T14:05:26.172Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T14:05:26.762Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T14:01:06.338Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T14:05:24.254Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T14:03:52.423Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T14:13:27.116Z","stale":false,"partial":false}}