5.9
MEDIUM CVSS 4.0
CVE-2026-71493
Infracost: Arbitrary file read via config-template readFile symlink traversal
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.

INFO

Published Date :

Aug. 21, 2026, 6:16 p.m.

Last Modified :

Oct. 14, 2026, 7:10 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-71493 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Infracost infracost
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 4.0 MEDIUM [email protected]
Solution
Update Infracost to version 0.10.45 to fix path traversal vulnerability.
  • Update Infracost to version 0.10.45.
  • Review configuration for symlink usage.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-71493 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-71493 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-71493 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Oct. 14, 2026

    Action Type Old Value New Value
    Added Translation Title: infracost, Description: Infracost proporciona inteligencia de costos en la nube para ingenieros, agentes de codificación de IA y CI/CD. Antes de la versión 0.10.45, las funciones de plantilla readFile, pathExists, isDir y matchPaths en internal/config/template/parser.go utilizan una verificación léxica filepath.Rel y una verificación os.Lstat solo de hoja que no resuelven un enlace simbólico de directorio intermedio. Un repositorio puede contener una ruta como evil/file donde evil apunta fuera del checkout, haciendo que os.ReadFile y operaciones relacionadas sigan el enlace simbólico y lean archivos accesibles para el ejecutor. El contenido resultante se renderiza en la configuración generada y puede mostrarse a través del panel de Infracost o un comentario de solicitud de extracción, con mayor impacto en flujos de trabajo que proporcionan secretos de repositorio. Este problema se corrige en la versión 0.10.45.
  • CVE Modified by [email protected]

    Aug. 26, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/infracost/infracost/commit/4d39331afc0e27752d16d9d91c34583e5e8487fb
    Added Reference https://github.com/infracost/infracost/pull/3586
    Added Reference https://github.com/infracost/infracost/releases/tag/v0.10.45
    Added Reference https://github.com/infracost/infracost/security/advisories/GHSA-mmg6-4qmv-6pc8
    Removed Reference https://github.com/infracost/infracost/commit/4d39331afc0e27752d16d9d91c34583e5e8487fb
    Removed Reference https://github.com/infracost/infracost/pull/3586
    Removed Reference https://github.com/infracost/infracost/releases/tag/v0.10.45
    Removed Reference https://github.com/infracost/infracost/security/advisories/GHSA-mmg6-4qmv-6pc8
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Aug. 26, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-71493', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-08-26T17:33:05.338155Z'}
  • New CVE Received by [email protected]

    Aug. 21, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'infracost', 'product': 'infracost', 'versions': [{'status': 'affected', 'version': '< 0.10.45'}]}]
    Added 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.
    Added CVSS V4.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
    Added CWE CWE-22
    Added CWE CWE-59
    Added Reference https://github.com/infracost/infracost/commit/4d39331afc0e27752d16d9d91c34583e5e8487fb
    Added Reference https://github.com/infracost/infracost/pull/3586
    Added Reference https://github.com/infracost/infracost/releases/tag/v0.10.45
    Added Reference https://github.com/infracost/infracost/security/advisories/GHSA-mmg6-4qmv-6pc8
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.