{"cve":"CVE-2026-71493","nvd":{"published":"2026-08-21T18:16:50.440","modified":"2026-10-14T19:10:00.297","status":"Deferred","description":"Infracost provides cloud cost intelligence for engineers, AI coding agents, and CI/CD. Prior to 0.10.45, the readFile, pathExists, isDir, and matchPaths template functions in internal/config/template/parser.go use a lexical filepath.Rel check and a leaf-only os.Lstat check that do not resolve an intermediate directory symlink. A repository can contain a path such as evil/file where evil points outside the checkout, causing os.ReadFile and related operations to follow the symlink and read runner-accessible files. The resulting content is rendered into generated configuration and can be surfaced through the Infracost dashboard or pull request comment, with greater impact in workflows that provide repository secrets. This issue is fixed in version 0.10.45.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":5.9},"cvss_v3":null,"cwes":["CWE-22","CWE-59"],"references":["https://github.com/infracost/infracost/commit/4d39331afc0e27752d16d9d91c34583e5e8487fb","https://github.com/infracost/infracost/pull/3586","https://github.com/infracost/infracost/releases/tag/v0.10.45","https://github.com/infracost/infracost/security/advisories/GHSA-mmg6-4qmv-6pc8"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-71493","score":0.00544,"percentile":0.45417,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-mmg6-4qmv-6pc8","url":"https://osv.dev/vulnerability/GHSA-mmg6-4qmv-6pc8","summary":"Infracost: Arbitrary file read via config-template readFile symlink traversal","modified":"2026-09-10T15:25:35.065057258Z","packages":[{"ecosystem":"Go","name":"github.com/infracost/infracost","purl":"pkg:golang/github.com/infracost/infracost","ranges":["<0.10.45"],"fixed":["0.10.45"]}]},{"id":"GO-2026-6439","url":"https://osv.dev/vulnerability/GO-2026-6439","summary":"Infracost: Arbitrary file read via config-template readFile symlink traversal in github.com/infracost/infracost","modified":"2026-09-10T15:15:15.758004005Z","packages":[{"ecosystem":"Go","name":"github.com/infracost/infracost","purl":"pkg:golang/github.com/infracost/infracost","ranges":["<0.10.45"],"fixed":["0.10.45"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}