Advisory record · GHSA-mmg6-4qmv-6pc8

Infracost: Arbitrary file read via config-template readFile symlink traversal

CVSS 5.9 MediumEPSS 0.0054 · 46th percentile

Published by the GitHub Advisory Database at 8 Sept 2026, 18:14 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/infracost/infracostGo<0.10.450.10.45
Identifiers
GHSA-mmg6-4qmv-6pc8 · CVE-2026-71493 · GO-2026-6439
Weakness (CWE)
CWE-22 · CWE-59
Published
8 Sept 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Infracost versions before 0.10.45 are vulnerable to arbitrary file read through symlink traversal in the config-template parser's readFile, pathExists, isDir and matchPaths functions. An attacker who can open a pull request can commit an intermediate directory symlink that makes these functions read files outside the checkout, with the contents shown in the generated config and PR comment. Upgrade to 0.10.45 or later; the impact is greater if Infracost runs under pull_request_target or same-repository pull requests.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.9 Medium 4.0 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 (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0054, the 46th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:13 UTC First seen by agentprime
  2. 31 Oct 2026, 14:13 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.