{"id":"CVE-2026-4035","aliases":["CVE-2026-4035","GHSA-g35p-px32-whv6","BIT-MLFLOW-2026-4035","PYSEC-2026-2222"],"related":[],"kind":"vulnerability","state":"published","title":"Environment Variable Resolution Vulnerability in mlflow/mlflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en las versiones de mlflow/mlflow anteriores a la 3.11.0 permite la resolución de variables de entorno en secretos de AI Gateway, lo que puede ser explotado para exfiltrar credenciales de entorno sensibles del lado del servidor a un punto final controlado por un atacante. Este problema surge porque el campo 'api_key' en los secretos del gateway puede aceptar referencias a '$ENV_VAR', que se resuelven contra el entorno del servidor de MLflow durante el tiempo de ejecución. Los secretos resueltos se envían entonces en los encabezados de autenticación del proveedor al 'api_base' ascendente configurado. Esta vulnerabilidad puede ser explotada por usuarios autenticados con bajos privilegios en implementaciones con 'basic-auth' o por usuarios no autenticados en implementaciones predeterminadas sin 'basic-auth'. El impacto incluye la posible fuga de credenciales sensibles, como credenciales de artefactos en la nube ('AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY'), lo que podría llevar al envenenamiento de artefactos y a la ejecución de código transfronteriza en entornos descendentes. El problema está solucionado en la versión 3.11.0.","source":"nvd"}],"published":"2026-06-03T07:18:08.512Z","modified":"2026-09-10T16:01:43.090Z","severity":{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","score":9.1,"rating":"CRITICAL"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-201"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.11.0","status":"affected"}],"vendor":"mlflow","product":"mlflow/mlflow","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-mlflow-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-th06-cpu-torch210-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-th06-cuda130-torch210-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-th06-rocm64-torch291-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-training-cuda128-torch29-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.11.0"}],"ecosystem":"PyPI","package":"mlflow","purl":"pkg:pypi/mlflow","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.11.0"}],"vendor":"lfprojects","product":"mlflow","cpe":"cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.11.0"}],"ecosystem":"PyPI","package":"mlflow","purl":"pkg:pypi/mlflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.11.0"}],"ecosystem":"Bitnami","package":"mlflow","purl":"pkg:bitnami/mlflow","source":"bitnami"}],"references":[{"url":"https://huntr.com/bounties/f8e591a0-0f19-4910-b82e-16c9956f2233","tags":["advisory","evidence","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/mlflow/mlflow/commit/4a3f2f720cb4f058c9e0c5b883e0acc9ab64a7f3","tags":["fix","patch","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-4035","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2484318","tags":["issue-tracking","report","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4035.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4035","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/mlflow/mlflow","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-g35p-px32-whv6","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-03T13:10:20.303Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-4035","url":"https://www.cve.org/CVERecord?id=CVE-2026-4035","licence":"CVE Terms of Use","modified":"2026-08-14T12:04:28.457Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g35p-px32-whv6","url":"https://github.com/advisories/GHSA-g35p-px32-whv6","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:21.561Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-4035","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4035","licence":"Public domain","modified":"2026-08-14T13:19:00.193Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2222","url":"https://osv.dev/vulnerability/PYSEC-2026-2222","licence":"CC-BY-4.0","modified":"2026-07-13T16:45:04.877Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MLFLOW-2026-4035","url":"https://osv.dev/vulnerability/BIT-MLFLOW-2026-4035","licence":"Apache-2.0","modified":"2026-09-10T16:01:43.090Z"}],"updatedAt":"2026-11-25T22:59:23.625Z","epss":{"score":0.00521,"percentile":0.45734,"date":"2026-12-02T12:00:21.000Z"}}