MLflow Tracking Server Model Creation Directory Traversal Remote Code Execution Vulnerability
The MLflow Tracking Server did not properly validate a user-supplied path when handling model file paths, allowing a path traversal. An unauthenticated remote attacker could use this to run arbitrary code as the service account.
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 model file path supplied by the user was used in file operations without being validated or confined to an expected directory.
Impact
An unauthenticated remote attacker could execute arbitrary code in the context of the service account.
What the attacker needed
Network access to the tracking server; no authentication needed
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 like a file address on the server. The server took an address supplied by the user and used it without checking it stayed inside the intended folder, so someone could point it somewhere else. Because the server then acted on files it should not have reached, an outsider could get their own code to run 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.