Impact
Mage AI’s BrowserItemResource accepts a caller-supplied file path and forwards it to the filesystem read helper without enforcing containment checks. This omission allows a user with the Viewer role, which normally grants read access only within the project, to supply an absolute path and read any file that the server process can access, resulting in arbitrary file disclosure. The vulnerability corresponds to CWE‑22 (Path Traversal).
Affected Systems
The flaw affects Mage AI (the mage‑ai project) for versions up to and including 0.9.79. The issue arose in the BrowserItemResource within mage_ai/api/resources/BrowserItemResource.py and is present in the 0.9.79 release and any earlier releases that share the same codebase.
Risk and Exploitability
The CVSS score of 7.1 indicates a high severity. While EPSS data is not available, the vulnerability is not listed in the CISA KEV catalog. An attacker who can authenticate as a Viewer (or higher) and interact with the browser‑items API can supply absolute paths and read arbitrary files from the host. The exploit requires access to the application and the viewer role, implying that privileged users or compromised credentials can leverage this flaw. The lack of a containment check is the root cause, creating a clear high‑risk scenario for data leakage.
OpenCVE Enrichment