CVE-2026-71493 json
Infracost: Arbitrary file read via config-template readFile symlink traversal
published 2026-08-21 2 mo ago modified 2026-10-14 25 d ago also GHSA-mmg6-4qmv-6pc8 , GO-2026-6439 , EUVD-2026-64035
- cvss
- 5.9
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/infracost/infracost 0.10.45
- govulncheck-vulndb SLES 16.0, SLES for SAP applications 16.0 0.0.20260916T180043-160000.1.1
suse advisories SUSE-SU-2026:23855-1SUSE-SU-2026:23863-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260916T180043-160000.1.1
opensuse advisories openSUSE-SU-2026:21897-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.9 | 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 |
| CNA | 4.0 | 5.9 | 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/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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/infracost/infracost | <0.10.45 |
0.10.45 |
Affected products
- infracost infracost
Classification
References
-
github.com
/infracost/infracost/pull/3586
web, patch
-
github.com
/infracost/infracost/commit/4d39331afc0e27752d16d9d91c34583e5e8487fb
web, patch
-
github.com
/infracost/infracost/security/advisories/GHSA-mmg6-4qmv-6pc8
web, advisory
-
github.com
/infracost/infracost/releases/tag/v0.10.45
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-71493
advisory
-
github.com
/infracost/infracost
package
Sources
- CVE List CVE-2026-71493
- GitHub Advisory GHSA-mmg6-4qmv-6pc8
- NVD CVE-2026-71493
- OSV GO-2026-6439
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.