Skip to main content
EPSS 0.5%top 57%

CVE-2026-4035: CWE-201 Insertion of Sensitive Information Into Sent Data in mlflow mlflow/mlflow

0
Critical
Published: 06/05/2026 (06/05/2026, 08:52:23 UTC)
Source: CVE Database V5
Vendor/Project: mlflow
Product: mlflow/mlflow

Description

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 `api_key` field in gateway secrets can accept `$ENV_VAR` 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 `api_base`. 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 (`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`), which could lead to artifact poisoning and cross-boundary code execution in downstream environments. The issue is fixed in version 3.11.0.

CVSS v3.0

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

Affected software

mlflow

mlflow/mlflow

mlflow
pkg:pypi/mlflow
Affected versions
<3.11.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 13:10:22 UTC

Technical Analysis

This vulnerability arises because the `api_key` field in MLflow AI Gateway secrets can contain environment variable references (e.g., $ENV_VAR) that are resolved against the MLflow server's environment at runtime. The resolved secrets are then sent in authentication headers to the configured upstream API endpoint. An attacker with access to the AI Gateway configuration—either as a low-privileged authenticated user in basic-auth deployments or unauthenticated in deployments without basic-auth—can exploit this to exfiltrate sensitive environment credentials such as AWS keys. This can lead to unauthorized access to cloud resources and potential downstream artifact poisoning or code execution. The vulnerability is fixed in mlflow version 3.11.0. Red Hat advisories confirm the issue and recommend restricting network access and enforcing authentication.

Potential Impact

The primary impact is the disclosure of sensitive server-side environment credentials, including cloud artifact credentials (e.g., AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY). This credential leakage can enable attackers to access cloud resources unauthorizedly and potentially poison artifacts or execute code in downstream environments. The vulnerability does not directly allow remote code execution on the MLflow platform but can facilitate secondary attacks. Exploitation requires network access to the AI Gateway and either low-privileged authenticated access or no authentication if basic-auth is disabled.

Mitigation Recommendations

A fix is available in mlflow version 3.11.0. Users should upgrade to this version to remediate the vulnerability. Additionally, restrict network access to the MLflow server to trusted clients only and ensure that authentication mechanisms such as basic-auth are properly configured and enabled to prevent unauthenticated or low-privileged access. Consult MLflow documentation for configuration details. A restart or reload of the MLflow service may be required after applying changes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2026-03-12T02:17:42.523Z
Cvss Version
3.0
State
PUBLISHED
Is Cloud Service
true
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-4035","vendor":"Red Hat"}]

Threat ID: 6a1fedefe29bf47b5092a178

Added to database: 06/03/2026, 09:03:43 UTC

Last enriched: 08/14/2026, 13:10:22 UTC

Last updated: 09/14/2026, 10:01:31 UTC

Views: 144

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses