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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-81030— Mage AI through 0.9.79 Arbitrary File Read via Unvalidated Path in browser_items Endpoint

Quick assessment

Affected
mage-ai mage-ai
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.

Mage AI 的 browser-items API 未将接受的路径限制在项目目录内。 中的 将调用方提供的路径直接传递给文件系统读写辅助函数,而没有调用同级类 和 都会使用的那个“路径包含(containment)”辅助函数。因此,该资源中完全缺少此类调用,而上述两个同级类中则包含多处这样的调用。 拥有 Viewer(查看者)角色 的用户仅被授予项目目录内的读取权限,无法访问外部文件。但由于该 API 未对路径做限制,攻击者可通过提供绝对路径,读取服务器进程有权限读取的任意文件。 此外,默认配置下,本应区分角色

CVSS 6.5 · Medium

Possible ATT&CK Techniques 1 AI

T1006 · Direct Volume Access

Affected Version Matrix 1

VendorProduct Version RangeStatus
mage-ai mage-ai ≤ 0.9.79 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-81030

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
Mage AI through 0.9.79 Arbitrary File Read via Unvalidated Path in browser_items Endpoint
Source: CVE Program / CVE List V5
Vulnerability Description
Mage AI does not confine the paths accepted by its browser-items API to the project directory. BrowserItemResource in mage_ai/api/resources/BrowserItemResource.py passes a caller-supplied path to the filesystem read and write helpers without calling the containment helper that the sibling FileContentResource and FileResource classes both use, so the resource contains no such call while those two contain several. A user holding the Viewer role, which grants read access within the project and nothing outside it, can therefore read any file the server process can read by supplying an absolute path. The permission model that would otherwise separate roles is not consulted for this route in the default configuration, because the setting that enables it defaults to false. Callers holding the Editor role additionally write through the same unconfined path, though that role is already able to execute code by design, so the boundary crossed by this flaw is the read available to the Viewer role.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
mage-ai mage-ai 0 ~ 0.9.79 -

II. Public POCs for CVE-2026-81030

# 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-81030

登录查看更多情报信息。

Patches & Fixes for CVE-2026-81030 (1)

Vendor Advisories for CVE-2026-81030 (1)

Security Blog Posts for CVE-2026-81030 (1)

Other References for CVE-2026-81030 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-81030

No comments yet


Leave a comment