CVE-2026-142248

Description

A flaw was found in MLflow. An authenticated remote attacker can exploit this issue by submitting request payloads with unchecked host parameters to the AI Gateway LiteLLM provider. This Server-Side Request Forgery (SSRF)—where a server is tricked into sending unauthorized requests—allows the attacker to redirect outgoing server requests to internal hosts and private network endpoints.

Statement

This vulnerability is rated as Moderate severity for Red Hat because exploitation requires an authenticated user to submit custom endpoint parameters through the AI Gateway, restricting the attack to internal request redirection without enabling direct code execution. In typical Red Hat deployments, MLflow instances operate within managed access environments and secured network perimeters. While an attacker can cause the server to issue requests to internal addresses, the overall impact is limited to internal network reconnaissance and potential interaction with internal web endpoints.

Mitigation

To mitigate exposure to this vulnerability, restrict outbound network access from the host running the MLflow service:

1. Configure egress network firewall rules (using tools such as `firewalld` or `nftables`) on the MLflow server to block outbound connections to loopback addresses (127.0.0.0/8), RFC 1918 private network blocks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), and cloud provider metadata IPs (169.254.169.254).

Caveats: Restricting egress traffic may block legitimate connections if MLflow relies on internal microservices or locally hosted model providers.

Warning: Applying or reloading firewall configurations may disrupt active network connections on the system.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.2N/A4.2
Attack VectorNetworkN/ANetwork
Attack ComplexityHighN/AHigh
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityLowN/ALow
Integrity ImpactLowN/ALow
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

cve.org: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Application Data

Integrity

Technical Impact: Execute Unauthorized Code or Commands

Access Control

Technical Impact: Bypass Protection Mechanism

By providing URLs to unexpected hosts or ports, attackers can make it appear that the server is sending the request, possibly bypassing access controls such as firewalls that prevent the attackers from accessing the URLs directly. The server can be used as a proxy to conduct port scanning of hosts in internal networks, use other URLs such as that can access documents on the system (using file://), or use other protocols such as gopher:// or tftp://, which may provide greater control over the contents of requests.

Frequently Asked Questions

Want to get errata notifications? Sign up here.