REDHAT-BUG-2452949: Command Injection

Published Mar 30, 2026
·
Updated

A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the installmodeldependenciestoenv() function. When deploying a model with envmanager=LOCAL, MLflow reads dependency specifications from the model artifact's pythonenv.yaml file and directly interpolates them into a shell command without sanitization. This allows an attacker to supply a malicious model artifact and achieve arbitrary command execution on systems that deploy the model. The vulnerability affects versions 3.8.0 and is fixed in version 3.8.2.

Affected Software

1 affected component
MLflow MLflow>=3.8.0<=3.8.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mlflow to a version that resolves this vulnerability.

    Fixed in 3.8.2
  2. Configuration

    For MLflow model deployments, avoid using env_manager=LOCAL to prevent MLflow from reading python_env.yaml dependency specifications from the model artifact and interpolating them into an unsanitized shell command.

    MLflow model serving (env_manager=LOCAL) env_manager = not LOCAL

Event History

Mar 30, 2026
Data Sourced
via Red Hat·08:01 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2452949?

The severity of REDHAT-BUG-2452949 is high with a rating of 7.

2

What is the nature of the vulnerability in REDHAT-BUG-2452949?

REDHAT-BUG-2452949 is a command injection vulnerability found in MLflow's model serving container initialization code.

3

How do I fix REDHAT-BUG-2452949?

To fix REDHAT-BUG-2452949, update MLflow to the latest version where this vulnerability has been addressed.

4

What components are affected by REDHAT-BUG-2452949?

The affected component in REDHAT-BUG-2452949 is the `_install_model_dependencies_to_env()` function within MLflow.

5

What type of attack does REDHAT-BUG-2452949 enable?

REDHAT-BUG-2452949 enables a command injection attack when deploying a model with `env_manager=LOCAL`.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203