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

Published Aug 26, 2026
·
Updated

Mage AI does not confine the paths accepted by its browser-items API to the project directory. BrowserItemResource in mageai/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.

Affected Software

1 affected component
Mage AI Mage AI<0.9.79

Event History

Aug 26, 2026
CVE Published
via MITRE·03:44 PM
Data Sourced
via MITRE·03:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What level of access does an attacker need?

An authenticated user with the Viewer role can exploit the read issue by supplying an absolute path to the browser-items API. Viewer access is intended to permit reads only within the project.

2

Are default deployments affected?

Yes. In the default configuration, the permission model is not consulted for this route because the setting that enables it defaults to false.

3

What data can be exposed?

A Viewer can read any file that the Mage AI server process itself has permission to read, rather than being limited to files in the project directory.

4

Does this also allow file modification?

Users with the Editor role can write through the same unconfined path. However, Editors are already able to execute code by design, so the primary privilege-boundary impact is the unauthorized read capability available to Viewers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203