CVE-2026-81030
ŚrednieCVSS 6.5Streszczenie
Mage AI nie ogranicza ścieżek akceptowanych przez API elementów przeglądarki do katalogu projektu. Użytkownik z rolą Viewer, która daje dostęp tylko do odczytu w projekcie, może czytać dowolne pliki, do których ma dostęp proces serwera, podając ścieżkę bezwzględną. Użytkownik z rolą Editor może również zapisywać pliki poza katalogiem projektu.
Ocena ryzyka
Naruszenie granic uprawnień może prowadzić do wycieku poufnych danych systemowych, a w przypadku roli Editor do nieautoryzowanej modyfikacji plików.
Rekomendacja
Zaktualizuj Mage AI do wersji, która zawiera poprawkę ograniczającą ścieżki do katalogu projektu, oraz włącz ustawienie kontroli dostępu dla tej trasy.
Inne podatności w Mage AI
Oryginalny opis (angielski, źródło NVD)
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.

