{"schemaVersion":3,"id":"CVE-2026-4035","aliases":["GHSA-g35p-px32-whv6","BIT-mlflow-2026-4035","PYSEC-2026-2222","CGA-w6hh-c64m-xrwh"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-06-03T07:18:08.512Z","modified":"2026-08-14T12:04:28.457Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":7.9,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0066,"percentile":0.50888,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.13899999999999998,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00521},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0066,"percentile":0.50888}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0066,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0066,"percentile":0.50888}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_DEA19DDAEF29660A","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/f8e591a0-0f19-4910-b82e-16c9956f2233","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data","description":"The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/201.html"}],"affected":[{"vendor":"chainguard","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mlflow","purlType":"apk","versions":[{"text":"< 3.16.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/mlflow","purlType":"apk","versions":[{"text":"< 3.16.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0-r0","eol":null,"hubHref":null},{"vendor":"lfprojects","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.11.0","eol":null,"hubHref":"/vendor/lfprojects/mlflow"},{"vendor":"mlflow","product":"mlflow/mlflow","name":"mlflow/mlflow","label":"mlflow/mlflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 3.11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 3.11.0","eol":null,"hubHref":"/vendor/mlflow/mlflowmlflow"},{"vendor":"PyPI","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/mlflow","purlType":"pypi","versions":[{"text":"< 3.11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.11.0","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/f8e591a0-0f19-4910-b82e-16c9956f2233","label":"huntr.com/bounties/f8e591a0-0f19-4910-b82e-16c9956f2233","hostname":"huntr.com","tags":["WEB","EVIDENCE","Exploit","Third Party Advisory"]},{"url":"https://github.com/mlflow/mlflow/commit/4a3f2f720cb4f058c9e0c5b883e0acc9ab64a7f3","label":"github.com/mlflow/mlflow/commit/4a3f2f720cb4f058c9e0c5b883e0acc9ab64a7f3","hostname":"github.com","tags":["WEB","FIX","Patch"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-4035","label":"access.redhat.com/security/cve/CVE-2026-4035","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2484318","label":"bugzilla.redhat.com/show_bug.cgi?id=2484318","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","WEB","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4035.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4035.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4035","label":"nvd.nist.gov/vuln/detail/CVE-2026-4035","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mlflow/mlflow","label":"github.com/mlflow/mlflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-g35p-px32-whv6","label":"github.com/advisories/GHSA-g35p-px32-whv6","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-03T07:18:08.512Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-14T12:04:28.457Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T15:38:52.245Z","stale":false,"partial":false}}