# 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 enviro...

Advisory record · `GHSA-g35p-px32-whv6`

- **Identifiers:** `GHSA-g35p-px32-whv6` · `BIT-mlflow-2026-4035` · `CVE-2026-4035` · `PYSEC-2026-2222`
- **State:** Confirmed
- **Severity:** CVSS 9.1 Critical
- **Critical:** Yes: CVSS 9+
- **Weakness (CWE):** [CWE-201](https://cwe.mitre.org/data/definitions/201.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 3 Jun 2026
- **Updated:** 13 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 3 Jun 2026, 09:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.1: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `mlflow` (PyPI): affected `<3.11.0`; fixed in `3.11.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> MLflow (the mlflow package) versions prior to 3.11.0 resolve environment variable references in AI Gateway secrets. An attacker who can create or modify a gateway secret, which in default deployments without basic-auth may need no authentication, can have server-side credentials such as AWS keys sent to an attacker-controlled endpoint. Upgrade to mlflow 3.11.0 or later.

Written 5 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.1 Critical, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`, from CNA (@huntr_ai)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0052, the 44th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:43 UTC: First seen by agentprime
- 31 Oct 2026, 14:43 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/PYSEC-2026-2222)

## Sources

- [GitHub Advisory Database: GHSA-g35p-px32-whv6](https://github.com/advisories/GHSA-g35p-px32-whv6)
- [OSV: GHSA-g35p-px32-whv6](https://osv.dev/vulnerability/GHSA-g35p-px32-whv6)
- <https://access.redhat.com/security/cve/CVE-2026-4035>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4035.json>
- <https://github.com/mlflow/mlflow/commit/4a3f2f720cb4f058c9e0c5b883e0acc9ab64a7f3>
- <https://github.com/advisories/GHSA-g35p-px32-whv6>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-g35p-px32-whv6>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-g35p-px32-whv6/>. Everything for agents: <https://agentprime.io/llms.txt>.
