> CVE-2026-71493 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-21 18:16
MODIFIED
2026-08-21 18:16
CVSS_SCORE V3
5.9
EPSS (Prob. Exploit)
0.54%
Top 55.5%
DATA SOURCES:
NVD đź”— 2026-08-21 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-18 GITHUB đź”— 2026-10-29 OSV đź”— 2026-10-26

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_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

> MÉTRIQUES CVSS DÉTAILLÉES

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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-22 CWE-59

> CWE DETAILED DESCRIPTIONS

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. | CWE-59: Improper Link Resolution Before File Access ('Link Following') - The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

> GITHUB SECURITY ADVISORY

GHSA-mmg6-4qmv-6pc8 MODERATE

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

AFFECTED PACKAGES:
GO / github.com/infracost/infracost
< 0.10.45
Fixed in: 0.10.45

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
113 versions affected
ALIASES:
GHSA-mmg6-4qmv-6pc8, GO-2026-6439

> HISTORIQUE DES MODIFICATIONS

Première apparition
21/08/2026 18:16
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - The product uses external input to construct a pathname that is intended to identify a file or directory that i...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/infracost/infracost/commit/4d39331afc0e27752d16d9d91c34583e5e...
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
« BACK_TO_HOME