Security advisoryMedium
MLflow: judge inference_params bypass the scorer SSRF check
MLflow judge inference_params could set api_base and send the server's LLM call to any host. Fixed on master by #27763.
On this page
MLflow scorer payloads - judge inference_params could set api_base, so the server's LLM judge call went to a host the caller chose (GHSA-vp65-hfh3-2q6m)
- Severity
- Medium
- Status
- Patched
- Published
- Report to public
- 29 days
- Product
- MLflow (open source platform for ML and GenAI apps) in mlflow/mlflow
- Affected versions
- MLflow tracking servers through 3.18.0 (the latest release on 2026-11-26) that accept scorer registration or invocation. Fixed on master by #27763 (merged 2026-11-13); not yet in a release.
- GitHub advisory
- GHSA-vp65-hfh3-2q6mPrivate; closed by the maintainer after the fix, not published
- CVE
- Pending (requested via MITRE CNA-LR)
- Weaknesses (1)
- CWE-918 Server-Side Request Forgery (SSRF)
- Credit
- Finder: Aaron Elijah Mars of Aeon. Tool: Aeon (https://www.aeon.fun).
What users should do now#
- Upgrade to the first MLflow release after 3.18.0 as soon as it is out; it will carry the fix. Until then, a build from
masterat or after #27763 is fixed. - Do not expose the tracking server to untrusted users or networks without authentication. Scorer registration and invocation (
RegisterScorer,InvokeScorer, GenAI evaluation jobs) are the paths that reach this. - Route judges through an MLflow AI Gateway endpoint (
gateway:/NAME) or provider environment variables, and restrict the server's outbound network access to the LLM providers you use. - Review registered scorers for
api_base,base_urlor similar keys insideinference_params. The fix also re-checks stored scorers when an optimize job loads them.
Summary#
MLflow lets clients register and invoke scorers (LLM judges) on the tracking server. The server rebuilds each scorer from a serialized payload and runs the judge itself. After GHSA-2wqp-q3c6-ccj5 (CVE-2026-115886), the server rejects keys that pick the LLM endpoint, such as api_base and base_url, inside third_party_scorer_data.kwargs.
That check did not look at inference_params on instructions_judge_pydantic_data or builtin_scorer_pydantic_data. Those params are meant for sampling settings such as temperature, but the LiteLLM judge adapter applies them with kwargs.update(inference_params) right before litellm.completion(**kwargs), after the server has set its own api_base and api_key. A value supplied by the caller therefore wins, and the server sends the judge request, prompt included, to the caller's host.
Affected versions#
MLflow tracking servers through 3.18.0 that serve the scorer endpoints. Versions before 3.17.0 are also affected by the related GHSA-2wqp-q3c6-ccj5. The fix is on master and not yet released.
Impact#
- Server-side request forgery. A caller who can register or invoke a scorer picks the host the server connects to, including internal services the caller cannot reach directly.
- Response leaks back. The response from that host comes back to the caller in the error message, so internal responses can be read, not only reached.
- Other LiteLLM options. The same merge could also replace
api_key,modelor the provider, so the judge call can be pointed at a different model or account. - Who can reach it. Anyone who can call the scorer endpoints. On a server without authentication, that is anyone who can reach it.
Affected code#
Permalinks at 8171679, the commit on master just before the fix.
- The payload check validates only third-party scorer kwargs: mlflow/server/handlers.py#L6474-L6499
- The destination-key check walks only
third_party_scorer_data: mlflow/utils/validation.py#L1317-L1341 - The instructions judge is rebuilt with
inference_paramsas given: mlflow/genai/scorers/base.py#L743-L753 - The adapter merges
inference_paramslast into the LiteLLM call: mlflow/genai/judges/adapters/litellm_adapter.py#L208-L223
Fix#
- #27763 ("Validate judge inference_params in serialized scorer payloads", merged 2026-11-13) adds
_validate_judge_inference_params, which rejects the same endpoint keys in theinference_paramsof every judge in a payload, at any depth and inside wrapping scorers, and requiresinference_paramsto be a JSON object. - The check runs on scorer registration and invocation, and again on registered scorers when an optimize job loads them, so scorers stored before the fix are caught too.
- Merge commit: mlflow/mlflow@7e30b6d. Not yet in a release; 3.18.0 does not include it.
Timeline#
- We report the issue privately via GitHub PVR (GHSA-vp65-hfh3-2q6m).
- Maintainers merge the fix (#27763).
- The maintainer closes the advisory as resolved by the fix, without publishing it. We ask for it to be published with a CVE.
- We check the fix on
masterand confirm it closes the issue. - Public write-up; CVE requested from MITRE.
Credit#
Finder: Aaron Elijah Mars of Aeon. Tool: Aeon. Thanks to the MLflow maintainers for the quick fix.
References#
- Fix PR: mlflow/mlflow#27763
- GitHub advisory: GHSA-vp65-hfh3-2q6m (private; closed, not published)
- Related: GHSA-2wqp-q3c6-ccj5 (CVE-2026-115886)
- CVE: pending (requested via MITRE CNA-LR)
- Affected repository: mlflow/mlflow
