{"id":"CVE-2026-4035","published":"2026-06-03T07:18:08Z","modified":"2026-08-14T12:04:28Z","title":"Environment Variable Resolution Vulnerability in mlflow/mlflow","vendor":"mlflow","product":"mlflow/mlflow","tier":"core","eol":null,"affectedVersions":[{"vendor":"mlflow","product":"mlflow/mlflow","versions":[">= unspecified, < 3.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-03T13:10:20.303201Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00521,"percentile":0.45146,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-11-03","exploitedFirstSeen":"2026-11-03","ransomware":false,"evidence":[{"url":"https://previdian.com/CVE-2026-4035","date":"2026-11-03"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Jun 11, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a29742f499b656af9aa7453","created":"2026-06-10"},{"name":"Known_Cve | Jun 10, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a281fe21ed2acb88f87d934","created":"2026-06-09"},{"name":"Known_Cve | Jun 9, 2026","url":"https://otx.alienvault.com/pulse/6a26ce49a35d1fcde6556d3b","created":"2026-06-08"},{"name":"Known_Cve | Jun 8, 2026","url":"https://otx.alienvault.com/pulse/6a257cd6c7aaeba76487b37a","created":"2026-06-07"},{"name":"Known_Cve | Jun 7, 2026","url":"https://otx.alienvault.com/pulse/6a242b862a9f3e11934390bd","created":"2026-06-06"},{"name":"Known_Cve | Jun 6, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a22d9d836983549a180365a","created":"2026-06-05"},{"name":"Known_Cve | Jun 5, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6a2188a01aef9bc2efeb1a5c","created":"2026-06-04"},{"name":"Known_Cve | Jun 4, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6a2037031d2dc0347aa9f7f7","created":"2026-06-03"}],"provenance":"machine"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"references":[{"url":"https://huntr.com/bounties/f8e591a0-0f19-4910-b82e-16c9956f2233","tags":[]},{"url":"https://github.com/mlflow/mlflow/commit/4a3f2f720cb4f058c9e0c5b883e0acc9ab64a7f3","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-4035","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2484318","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4035.json","tags":["x_sadp-csaf-vex"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"mlflow","vulnerableRanges":["<3.11.0"],"patched":["3.11.0"],"from":["GHSA-g35p-px32-whv6","PYSEC-2026-2222"],"provenance":"source"}],"advisories":[{"id":"GHSA-g35p-px32-whv6","url":"https://github.com/advisories/GHSA-g35p-px32-whv6","severity":"CRITICAL","ecosystem":"PyPI","package":"mlflow","vulnerableRanges":["<3.11.0"],"patched":["3.11.0"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-34068","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-34068","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-06-03","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-4035","provenance":"source"},{"date":"2026-11-03","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://previdian.com/CVE-2026-4035","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":62.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 18 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":9.03,"detail":"percentile 0.4515"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":6.37,"detail":"base score 9.1"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}