Skip to content

huntr

mlflow/mlflow

Every publicly disclosed report for mlflow/mlflow and what kind of bugs they were.

disclosed reports
47
most reported class
Path traversal
bug classes found
10
first disclosure
2022
Find mlflow/mlflow on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what mlflow/mlflow chose to make public.

Access control

MLflow: trace API endpoints lack proper authorization validators

Trace API endpoints in MLflow lacked authorization validators, so any authenticated user could read, delete or modify traces on experiments they had no permission to access. This exposed sensitive data, allowed destruction of audit logs and unauthorised modifications.

mlflow/mlflow

High
SSRF

MLflow: Environment variable injection in AI Gateway secrets enables server-side credential exfiltration

The AI Gateway secrets feature resolved environment variable references in the api_key field against the MLflow server's own environment, then sent the resolved value in authentication headers to a user-configured upstream endpoint. A low-privileged or unauthenticated user could therefore direct server-side credentials such as cloud access keys to an attacker-controlled host.

mlflow/mlflow

Critical
CORS

MLflow: Improper Origin Validation in MLflow Assistant /ajax-api Endpoints Enables Browser-Mediated Local Command Execution

The MLflow Assistant's /ajax-api endpoints did not properly validate request origins, so a malicious webpage could send cross-origin requests to an Assistant running on a victim's local machine. By bypassing the loopback-only restriction, an attacker could change the Assistant's configuration to enable full access and then run arbitrary commands through the Claude Code sub-agent.

mlflow/mlflow

Critical
File upload

MLFlow Creates a Temporary File With Insecure Permissions

The MLFlow library creates temporary directories with overly permissive permissions (world-writable or group-writable), allowing local attackers to modify model artifacts. When these tampered artifacts are later deserialised, an attacker can achieve arbitrary code execution.

mlflow/mlflow

High
Access control

MLflow: unauthenticated access to certain FastAPI routes

When MLflow is run with basic authentication enabled and served via uvicorn, the FastAPI permission middleware only checks authentication for /gateway/ routes. An unauthenticated attacker can therefore reach other FastAPI routes such as the Job API and the OpenTelemetry trace ingestion API, allowing them to submit, read and cancel jobs and to inject arbitrary trace data.

mlflow/mlflow

High
SSRF

MLflow Has a Server-Side Request Forgery (SSRF) Vulnerability

The webhook creation function in MLflow accepted a user-supplied URL without validation, and the delivery function then sent HTTP POST requests to that URL. An authenticated attacker could make the MLflow backend send requests to internal services, cloud metadata endpoints, or arbitrary external servers.

mlflow/mlflow

High
RCE

Mlflow: Command Injection when serving models with enable_mlserver=True

The model_uri parameter is inserted unsanitised into a shell command run via bash -c, so shell metacharacters allow command substitution. An attacker who can control the model_uri could execute arbitrary commands, potentially escalating privileges if a higher-privileged service serves models from a writable directory.

mlflow/mlflow

Critical
RCE

MLflow Command Injection vulnerability

MLflow's model serving container initialization directly interpolates dependency specifications from a model artifact's python_env.yaml into a shell command without sanitisation. An attacker who supplies a malicious model artifact could achieve arbitrary command execution on systems that deploy the model.

mlflow/mlflow

Critical
Path traversal

MLFlow path traversal vulnerability

The archive extraction function in MLflow did not validate the paths of tar members, so a crafted tar.gz could write files outside the intended directory. An attacker who controls the archive could overwrite arbitrary files or gain elevated privileges, potentially escaping the sandbox in shared environments.

mlflow/mlflow

Critical
Access control

MLFlow allows Tracing + Assessments Access

Tracing and assessment endpoints in MLflow's basic-auth app lack permission checks, so any authenticated user, even with no permissions on an experiment, can read trace information and create assessments for traces they should not access. This exposes trace metadata and allows unauthorised creation of assessments.

mlflow/mlflow

High
Path traversal

Arbitrary file write via tar traversal in mlflow

MLflow's pyfunc extraction uses tarfile.extractall without validating archive entry paths, so a crafted tar.gz with traversal sequences or absolute paths can write files outside the intended directory. This could lead to arbitrary file overwrites and potentially remote code execution in multi-tenant or untrusted-artifact scenarios.

mlflow/mlflow

High
RCE

MLflow has a command injection in mlflow/sagemaker/__init__.py

MLflow built a shell command by pasting a user-supplied container image name straight into it and ran that command through the operating system shell. An attacker who could pass a crafted value to the CLI's container option could therefore run arbitrary commands on the host.

mlflow/mlflow

High
Race condition

mlflow Creates of Temporary File in Directory with Insecure Permissions

The temporary directory used by mlflow for Python virtual environments was created with world-writable permissions, allowing an attacker with write access to /tmp to race and overwrite .py files. This could lead to arbitrary code execution.

mlflow/mlflow

High
Access control

MLflow has Weak Password Requirements

MLflow allowed an admin to create a user account without setting a password, which could lead to unauthorised access. The issue was fixed in version 2.19.0.

mlflow/mlflow

Low
CSRF

MLflow Cross-Site Request Forgery (CSRF) vulnerability

The signup feature of MLflow versions 2.17.0 to 2.20.1 is vulnerable to cross-site request forgery, allowing an attacker to create a new account. This could let the attacker perform unauthorised actions as that new user.

mlflow/mlflow

Medium
Path traversal

MLflow has a Local File Read/Path Traversal in dbfs

A path traversal vulnerability in MLflow's dbfs service allows an attacker to read arbitrary local files when the service is configured and mounted to a local directory. The issue arises because only the path portion of the URL is validated, while query and parameters are not handled.

mlflow/mlflow

High
Path traversal

Local File Inclusion in mlflow

The application failed to validate URI fragments for directory traversal sequences, allowing an attacker to read arbitrary local files. This was a bypass of a previous patch that only checked the query string.

mlflow/mlflow

High
RCE

Remote code execution in mlflow

The mlflow HTTP dataset loader used an unsanitised filename from the Content-Disposition header or URL path to build the destination file path, allowing path traversal or absolute paths. An attacker could write files to arbitrary locations and potentially execute commands on the vulnerable machine.

mlflow/mlflow

Critical
Path traversal

MLflow has a Local File Read/Path Traversal bypass

A path traversal bypass in MLflow 2.11.0 allows an attacker to read arbitrary files by inserting a '#' character into an artifact URL, which skips validation and causes the application to use the fragment as a filesystem path. This enables reading sensitive files such as SSH and cloud keys.

mlflow/mlflow

High
Access control

MLflow allows low privilege users to delete any artifact

A low-privilege user with only EDIT permission on an experiment could delete any artifact, despite documentation stating EDIT users can only read and update. An attacker could therefore delete arbitrary artifacts without proper authorisation.

mlflow/mlflow

Medium
Path traversal

mlflow vulnerable to Path Traversal

The is_local_uri function in MLflow misclassifies URIs with empty or 'file' schemes as non-local, allowing attackers to bypass checks and read arbitrary files. Attackers can craft malicious model versions with specially crafted 'source' parameters to read sensitive files within at least two directory levels from the server's root.

mlflow/mlflow

Critical
Path traversal

mlflow vulnerable to Path Traversal

A path traversal flaw in MLflow's handling of the artifact_location parameter when creating an experiment allows an attacker to read arbitrary files on the server. By including a fragment component in the URI, an attacker can bypass restrictions and access files with the server process's permissions.

mlflow/mlflow

High