CVE-2026-142690

Mage AI project creation could escape the project directory

mage-ai · Mage AI

First documented disclosure · Review checkpoint

Summary

Project creation could write a template tree outside the intended root.

Severity and exploitation evidence

Medium · 6.9/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed originals establish a reported weakness or controlled demonstration; malicious exploitation and victim compromise are not established. No product, model or proof of concept was executed for this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The create API joins uuid and repo_path without applying the existing project containment check.

Conditions required

A caller can create projects; no credentials are needed when REQUIRE_USER_AUTHENTICATION is disabled. With authentication enabled, the original report found editor tokens denied.

Potential impact

Arbitrary directory-tree creation with template content; a dbt installation also permits an attacker-named profiles.yml with fixed content. No arbitrary file reading or arbitrary content injection was demonstrated.

Affected versions and configurations

CNA: versions through 0.9.81; original researcher verified 0.9.80.

Fix and mitigation status

No fixed package version is established in the reviewed originals.

Practical next steps

Require authentication, limit project creation privileges and apply a verified final-path containment correction.

Operating lesson

Every write operation must enforce the same workspace boundary as reads.

Evidence and limits

CVE publication: 2026-12-03. The disclosure date uses the earliest explanatory public source verified in this review; database ingestion is separate. The public gist has a November 6 creation timestamp but says it was not yet publicly disclosed at writing; creation alone does not prove prior public visibility. December 3 is the verified CNA disclosure date. The researcher tested 0.9.80; CNA lists through 0.9.81. Researcher severity prose conflicts with its stated vector, so the displayed score uses the CNA assessment. CVSS 4.0 6.9 is the VulDB CNA assessment.

Sources