Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-71493— Infracost: Arbitrary file read via config-template readFile symlink traversal

Quick assessment

Affected
infracost infracost
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Infracost是infracost组织的一款威胁情报分析网络产品。 Infracost 0.10.45之前版本存在安全漏洞,该漏洞源于readFile、pathExists、isDir和matchPaths模板函数未正确解析中间目录符号链接,可能导致攻击者读取运行器可访问的文件并造成信息泄露。

CVSS 5.9 · Medium EPSS 0.54% · P45

Affected Version Matrix 1

VendorProduct Version RangeStatus
infracost infracost < 0.10.45 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-71493

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Infracost: Arbitrary file read via config-template readFile symlink traversal
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Infracost 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Infracost是infracost组织的一款威胁情报分析网络产品。 Infracost 0.10.45之前版本存在安全漏洞,该漏洞源于readFile、pathExists、isDir和matchPaths模板函数未正确解析中间目录符号链接,可能导致攻击者读取运行器可访问的文件并造成信息泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
infracost infracost < 0.10.45 -

II. Public POCs for CVE-2026-71493

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-71493

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-71493 (2)

Vendor Advisories for CVE-2026-71493 (1)

Vendor Pages for CVE-2026-71493 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-71493

No comments yet


Leave a comment