Vulnerability DatabaseCVE-2026-142248

CVE-2026-142248: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-142248 is a Server-Side Request Forgery (SSRF) vulnerability in MLflow's AI Gateway LiteLLM provider, affecting all versions through 3.18.0. The flaw allows authenticated gateway users to redirect the MLflow server's upstream HTTP requests to loopback or private network addresses by supplying an unchecked aws_bedrock_runtime_endpoint parameter in request payloads. It was published on December 2, 2026, and assigned by VulnCheck. The vulnerability carries a CVSS v3.1 base score of 4.2 (Medium) and a CVSS v4.0 base score of 2.3 (Low) (VulnCheck Advisory, Feedly).

Technical details

The root cause is CWE-918 (Server-Side Request Forgery): the MLflow AI Gateway LiteLLM provider failed to include aws_bedrock_runtime_endpoint and aws_sts_endpoint in its set of blocked destination keys (GATEWAY_DESTINATION_KEYS), meaning a caller-supplied value for these parameters was passed directly to LiteLLM without validation. Because LiteLLM routes requests using these endpoint overrides, an attacker could set aws_bedrock_runtime_endpoint to http://127.0.0.1/ or any RFC-1918 address in a chat or embeddings request payload, causing the MLflow server to issue HTTP requests to internal hosts. The fix, applied in commit 21a531c, adds aws_bedrock_runtime_endpoint and aws_sts_endpoint to GATEWAY_DESTINATION_KEYS and introduces GATEWAY_REGION_KEYS with strict region-name validation to prevent host injection via region parameters such as aws_region_name (MLflow Commit, litellm.py source).

Impact

A low-privileged, authenticated AI Gateway user can cause the MLflow server to send HTTP requests to loopback addresses, link-local addresses, or internal private network hosts, enabling limited reconnaissance of internal services and potentially limited data reads or modifications on those hosts. Confidentiality and integrity are both rated as low impact; availability is unaffected. In environments where the MLflow server has broad internal network access, this could facilitate lateral movement or exposure of internal APIs, metadata services (e.g., AWS EC2 instance metadata at 169.254.169.254), or other sensitive internal endpoints (VulnCheck Advisory, Feedly).

Exploitability

No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation as of the disclosure date. The EPSS score is 0.0, reflecting very low current exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires low-privilege authenticated access to the MLflow AI Gateway and high attack complexity (VulnCheck Advisory, Feedly).

Exploitation steps

  1. Gain gateway access: Obtain low-privileged credentials to an MLflow AI Gateway instance running version ≤ 3.18.0 with a LiteLLM-backed endpoint configured (e.g., an AWS Bedrock endpoint).
  2. Identify a LiteLLM endpoint: Enumerate available AI Gateway routes to find one using the LiteLLM provider (e.g., a chat or embeddings endpoint).
  3. Craft a malicious request: Submit a chat or embeddings API request to the LiteLLM endpoint, injecting aws_bedrock_runtime_endpoint in the request payload pointing to an internal target, for example:
    {
      "messages": [{"role": "user", "content": "test"}],
      "aws_bedrock_runtime_endpoint": "http://169.254.169.254/latest/meta-data/"
    }
  4. Server issues internal request: The MLflow server passes the unvalidated endpoint to LiteLLM, which sends the provider HTTP request to the attacker-specified internal address.
  5. Harvest response data: Observe error messages, timing differences, or any reflected content to infer information about internal services or retrieve data from the internal host (VulnCheck Advisory, MLflow Commit).

Indicators of compromise

  • Network: Outbound HTTP connections from the MLflow server process to loopback (127.0.0.1, ::1), link-local (169.254.x.x), or RFC-1918 private addresses (e.g., 10.x.x.x, 172.16-31.x.x, 192.168.x.x) on unexpected ports.
  • Logs: MLflow AI Gateway access logs showing chat or embeddings requests to LiteLLM endpoints containing the field aws_bedrock_runtime_endpoint or aws_sts_endpoint with values pointing to internal or loopback addresses.
  • Logs: HTTP error responses or connection timeout errors in MLflow server logs originating from LiteLLM provider calls directed at non-AWS addresses.
  • Network: DNS queries or TCP connections from the MLflow host to internal hostnames or IP ranges not associated with legitimate AWS Bedrock endpoints (bedrock-runtime.*.amazonaws.com).

Mitigation and workarounds

Upgrade MLflow to a version newer than 3.18.0 that includes the fix from commit 21a531c5328605ffc4446b32eae18a71331916a0, which adds aws_bedrock_runtime_endpoint and aws_sts_endpoint to the blocked destination keys and enforces region-name validation. Until patching is possible, restrict AI Gateway access to trusted, authenticated users only and apply network egress controls on the MLflow server to block outbound connections to loopback, link-local, and private network ranges. Additionally, review gateway request logs for any occurrences of aws_bedrock_runtime_endpoint values pointing to internal addresses (MLflow Commit, VulnCheck Advisory).

Additional resources


Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-136716CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:drupal:drupal
YesYesNov 26, 2026
CVE-2026-129243HIGH8.8
  • NixOS logoNixOS
  • geoserver-3.0
YesYesNov 30, 2026
CVE-2026-120705HIGH8.6
  • NixOS logoNixOS
  • geoserver-2.27
YesYesNov 30, 2026
CVE-2026-141470HIGH8.2
  • NixOS logoNixOS
  • mongoose
NoYesDec 01, 2026
CVE-2026-142248LOW2.3
  • NixOS logoNixOS
  • mlflow
NoNoDec 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management