CVE-2026-4035
Last modified
CVE-2026-4035 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Lfprojects | Mlflow | < 3.11.0 |
References
- https://huntr.com/bounties/f8e591a0-0f19-4910-b82e-16c9956f2233Exploit, Third Party Advisory
- https://huntr.com/bounties/f8e591a0-0f19-4910-b82e-16c9956f2233Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-4035?
How severe is CVE-2026-4035?
How do I fix CVE-2026-4035?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40343free5GC UDR is the user data repository (UDR) for free5GC, a…5.8
- CVE-2026-40344MinIO is a high-performance object storage system. Starting …8.2
- CVE-2026-40346NocoBase is an AI-powered no-code/low-code platform for buil…6.5
- CVE-2026-40347Python-Multipart is a streaming multipart parser for Python.…5.3
- CVE-2026-40348Movary is a self hosted web app to track and rate a user's w…7.7
- CVE-2026-40349Movary is a self hosted web app to track and rate a user's w…8.8
- CVE-2026-40350Movary is a self hosted web app to track and rate a user's w…8.8
- CVE-2026-40351FastGPT is an AI Agent building platform. In versions prior …9.8
- CVE-2026-40352FastGPT is an AI Agent building platform. In versions prior …8.8
- CVE-2026-40353wger is a free, open-source workout and fitness manager. In …5.4
- CVE-2026-40354Flatpak xdg-desktop-portal before 1.20.4 and 1.21.x before 1…6.3
- CVE-2026-40355In MIT Kerberos 5 (aka krb5) before 1.22.3, there is a NULL …7.5
Are you affected by CVE-2026-4035?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
