GHSA-g35p-px32-whv6: MLflow: Environment variable injection in AI Gateway secrets enables server-side credential exfiltration
- Identifiers
- CVE-2026-4035GHSA-g35p-px32-whv6
- Published
- Record updated
- 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.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- mlflowPyPILLM dependency since 2024-05-30, 17 tracked dependents
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online