Skip to content
CriticalVulnerability

GHSA-g35p-px32-whv6: MLflow: Environment variable injection in AI Gateway secrets enables server-side credential exfiltration

Published
Record updated
View JSON
Affected
  • mlflow < 3.11.0
Fixed in
3.11.0
  • released April 7, 2026, 57 days before disclosure

Summary

A flaw in mlflow/mlflow before 3.11.0 lets the `api_key` field of AI Gateway secrets resolve `$ENV_VAR` references against the MLflow server's environment at runtime. The resolved values are then sent in provider authentication headers to the configured upstream `api_base`, which exposes server-side credentials such as `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` to an attacker-controlled endpoint. Low-privileged authenticated users in basic-auth deployments, or unauthenticated users in default deployments without `basic-auth`, can exploit it, and the leaked cloud credentials could enable artifact poisoning and cross-boundary code execution downstream.

Mitigation

Fixed in version 3.11.0.