MLflow Tracking Server Artifact Handler Directory Traversal Remote Code Execution Vulnerability
The MLflow Tracking Server did not properly validate user-supplied artifact file paths before using them in file operations. An unauthenticated remote attacker could exploit this to execute arbitrary code as the service account.
Muhammad Fadilullah Dzaki Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of MLflow Tracking Server. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the artifact path handling joined user input into filesystem paths without checking for traversal sequences or confining the result to the artifact directory.
Impact
An unauthenticated attacker could execute arbitrary code in the context of the service account, though the text gives no further detail on how the path leads to code execution.
What the attacker needed
Network access to the tracking server; no authentication required
The fix
The vendor issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A path is a location on the server's disk, like a folder name. The server took a path supplied by the user and used it to read or write files without checking it stayed inside the intended folder, so an attacker could point it somewhere dangerous. Because the server runs with its own permissions, this could let the attacker run their own commands on the machine.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.