CVE-2026-71493infracost
Medium 5.9 No auth needed
Follow: this CVE · infracost · infracost We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 4.0
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- Aug 21, 2026
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- 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/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
What happens
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.
What to do
- Apply the vendor's security update for infracost.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/infracost/infracost |
< 0.10.45 |
0.10.45 |
go get github.com/infracost/infracost@v0.10.45 |
| Go | github.com/infracost/infracost |
< 0.10.45 |
0.10.45 |
go get github.com/infracost/infracost@v0.10.45 |
Per OSV / GitHub Advisories (GHSA-mmg6-4qmv-6pc8, GO-2026-6439). Check the version in your lockfile before upgrading.
Affected products
- infracost · infracost
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21897-1 · Sep 21, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23855-1 · Sep 21, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23863-1 · Sep 21, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.