GHSA-h7x2-h6g9-p789

Suggest an improvement
Source
https://github.com/advisories/GHSA-h7x2-h6g9-p789
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-h7x2-h6g9-p789/GHSA-h7x2-h6g9-p789.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h7x2-h6g9-p789
Aliases
Downstream
CGA (5)
MINI (1)
Published
2026-08-05T09:31:18Z
Modified
2026-09-10T12:26:03Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
Summary
MLflow AI Gateway permits SSRF through an unvalidated api_base
Details

MLflow's AI Gateway accepts an auth_config.api_base value when creating a gateway secret (mlflow/server/handlers.py, _create_gateway_secret) with no validation of scheme, host, or IP range; the value is stored verbatim. The gateway proxy endpoint (mlflow/server/gateway_api.py, raw_proxy) subsequently issues an HTTP request to that stored api_base plus a caller-supplied path and returns the full response body. MLflow's existing SSRF guard, _validate_webhook_url (which blocks non-global and metadata IPs), is never invoked anywhere in this gateway secret/proxy code path. The CreateGatewaySecret action additionally has no entry in the permission-validator map, so it requires only basic authentication rather than any specific scope, meaning any authenticated user — including read-only accounts — can create a secret pointing at an internal address and reach it via the proxy endpoint, potentially exposing cloud-instance IAM credentials via metadata services. This is related to CVE-2026-4035, which addresses a distinct mechanism in the same gateway-secret feature (server-side $ENV_VAR resolution inside the api_key field leaking credentials to the configured upstream); the finding here is an independent missing-validation gap in the api_base destination itself, unaffected by that fix.

Database specific
{
    "cwe_ids":  [
        "CWE-918"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-31T19:48:13Z",
    "nvd_published_at":  "2026-08-05T08:16:43Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / mlflow

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.13.0
Last Affected
3.15.2

Affected versions

3.*
3.13.0
3.14.0
3.15.0
3.15.1
3.15.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-h7x2-h6g9-p789/GHSA-h7x2-h6g9-p789.json"