CVE-2026-4035: Environment Variable Resolution Vulnerability in mlflow/mlflow

Published Jun 3, 2026
·
Updated

A vulnerability in mlflow/mlflow versions prior to 3.11.0 allows for the resolution of environment variables in AI Gateway secrets, which can be exploited to exfiltrate sensitive server-side environment credentials to an attacker-controlled endpoint. This issue arises because the apikey field in gateway secrets can accept $ENVVAR references, which are resolved against the MLflow server's environment during runtime. The resolved secrets are then sent in provider authentication headers to the configured upstream apibase. This vulnerability can be exploited by low-privileged authenticated users in basic-auth deployments or by unauthenticated users in default deployments without basic-auth. The impact includes potential leakage of sensitive credentials such as cloud artifact credentials (AWSACCESSKEYID, AWSSECRETACCESSKEY), which could lead to artifact poisoning and cross-boundary code execution in downstream environments. The issue is fixed in version 3.11.0.

Affected Software

2 affected components
pypi/mlflow<3.11.0
Lfprojects Mlflow<3.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mlflow/mlflow to a version that resolves this vulnerability.

    Fixed in 3.11.0

Event History

Jun 3, 2026
CVE Published
via MITRE·07:18 AM
Data Sourced
via MITRE·07:18 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·09:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityWeaknessAffected 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 CVE-2026-4035?

The severity of CVE-2026-4035 is critical with a rating of 9.1.

2

How do I fix CVE-2026-4035?

To fix CVE-2026-4035, you should upgrade to mlflow/mlflow version 3.11.0 or later.

3

What is the impact of CVE-2026-4035?

CVE-2026-4035 allows attackers to exfiltrate sensitive server-side environment credentials via exploited AI Gateway secrets.

4

In which versions is CVE-2026-4035 present?

CVE-2026-4035 is present in mlflow/mlflow versions prior to 3.11.0.

5

What is exploited in CVE-2026-4035?

CVE-2026-4035 exploits the resolution of environment variables in AI Gateway secrets, specifically targeting the 'api_key' field.

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