Skip to main content

MLflow CVE-2026-116691

| EUVDEUVD-2026-111381 MEDIUM
Information Exposure (CWE-200)
2026-10-27 security-advisories@github.com GHSA-j7qq-vr8c-xvw3
6.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Enable mlflow.crewai.autolog() with api_key-bearing CrewAI LLM
  2. Exploit
    Autolog serializes Agent.llm and spanInputs
  3. Execution
    Plaintext key written to trace spans/OTLP
  4. Impact
    Trace reader harvests provider credential

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Concrete prerequisites, all confirmed by the advisory and commit: the application must explicitly call mlflow.crewai.autolog() (autologging is opt-in, not a default), and a CrewAI Agent must use an LLM object that holds a plaintext credential as a field (e.g. created via LLM(api_key='sk-...')), on MLflow 2.19.0 through 3.16.x. Affected fields include llm, function_calling_llm, agent_executor, and crew, which are serialized via __dict__ into span attributes and mlflow.spanInputs. Disclosure further requires that some party can read the destination where traces land - the MLflow tracking backend or the configured OTLP endpoint; no provider request even needs to succeed, since the key is captured when instrumentation starts. Limiting factors that reduce real-world risk: the integration must be deliberately enabled, the key must be passed as an LLM field rather than sourced purely from environment variables, and realized impact depends on who has access to the trace/telemetry store. Upgrading to 3.17.0 stops new leakage but does not scrub keys already written, so previously exposed keys must be rotated and affected traces deleted or redacted.

Impact

Signals point to a genuine but moderate, non-urgent credential-exposure issue rather than a high-impact remote compromise. The NVD CVSS 3.1 base score is 6.5 (medium) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - confidentiality-only impact, no integrity or availability effect. The AV:N/PR:L framing is somewhat nominal: this is a passive information-disclosure/logging flaw (CWE-200/312/532) where a CrewAI LLM object's api_key is serialized verbatim into MLflow trace spans, so the real 'attacker' is any party able to read the MLflow trace backend or the configured OTLP destination, not a classic remote exploiter sending packets to the host. EPSS is not provided in the input and cannot be cited. The vulnerability is not listed in CISA KEV and there is no indication of active exploitation. A public PoC reference exists in the GHSA advisory (a reproduction verified on MLflow 3.16.0 with CrewAI 1.15.18, showing the fake key in 5 attribute locations across 2 spans); it is not verified as working offensive exploit code, and PoC availability must not be conflated with active exploitation. No SSVC decision (Automatable / technical impact / exploitation) is supplied, so that framework cannot be applied; the only priority signal present is the vuln.today 'this_month' label, consistent with a medium-severity credential leak that warrants scheduled remediation and key rotation rather than emergency action. Net: a real priority for teams running the affected integration because leaked provider keys cross a trust boundary into observability telemetry, but the moderate CVSS and absence of KEV/EPSS data argue against treating it as an emergency.

Exploit ScenarioDerived

A team enables mlflow.crewai.autolog() and runs a CrewAI Agent whose LLM was created with a plaintext provider key (e.g. LLM(api_key='sk-...')); MLflow automatically serializes the Agent's llm field and expands the Agent into mlflow.spanInputs, writing the key into trace spans. Anyone with read access to the MLflow tracking backend or the configured OTLP destination - internal MLflow users, observability operators, or a third-party telemetry provider - then reads the plaintext key and reuses it against the LLM provider account. A public PoC in the GHSA advisory demonstrates both the direct _get_agent_attributes() leak and end-to-end disclosure through MLflow's OTLP exporter.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

MLflow's CrewAI autologging integration records CrewAI Agent objects without sanitizing nested credential-bearing values, so provider API keys held in an Agent's LLM object are written in plaintext into span attributes and mlflow.spanInputs. Applications running MLflow 2.19.0 through 3.16.x that explicitly enable mlflow.crewai.autolog() with a CrewAI Agent created via LLM(api_key=...) can therefore send plaintext credentials to the MLflow trace backend or a configured OTLP destination, where trace readers can obtain them. Exploitation is confirmed feasible by the upstream advisory's reproduced proof of concept, and the vendor released a fix in MLflow 3.17.0; signals point to a genuine but moderate, non-urgent credential-exposure issue rather than a high-impact remote compromise.

RemediationAI

Vendor-released patch: MLflow 3.17.0 (upgrade to mlflow>=3.17.0 per GHSA-j7qq-vr8c-xvw3; fix delivered via PR #25845 / commit 20927930d27f0072fcfeb7f024f24ad8c5e77c47, release notes at https://github.com/mlflow/mlflow/releases/tag/v3.17.0). Because upgrading only stops new leakage, the advisory directs that any LLM provider key held by a CrewAI LLM object (for example passed as LLM(api_key=...)) while mlflow.crewai.autolog() was enabled on MLflow 2.19.0 through 3.16.x be rotated, and that affected traces be deleted or redacted both in the MLflow tracking backend and in any OTLP destination they were exported to, since the key appears in Agent and Crew span attributes as well as mlflow.spanInputs. If upgrading is not immediately possible, the documented workaround is to disable the integration with mlflow.crewai.autolog(disable=True), which forfeits CrewAI autologging telemetry for those workloads; the vendor frames updating as the complete fix.

Affected VersionsENISA

MLflow 2.19.0, < 3.17.0

Affected Packages

pypi mlflow fix: 3.17.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Root cause is CWE-200 information exposure (the advisory also classifies it as CWE-312/CWE-532, cleartext storage and insertion of sensitive information into logs): instrumented objects are serialized generically rather than through an allowlist. In mlflow/crewai/autolog.py, _get_agent_attributes() walks the CrewAI Agent __dict__ and stringifies fields; tools and embedder received special handling, but llm, function_calling_llm, agent_executor and crew did not. Because str(agent.llm) renders the CrewAI LLM object's state including api_key='sk-...', the credential ends up as a span attribute. Notably, MLflow's dedicated _get_llm_attributes() already excluded api_key, indicating the broader object serialization bypassed an existing protection. A second, independent path exists in _construct_full_inputs(), which expands call arguments with v.__dict__ if hasattr(v, '__dict__') else v; since the Agent is passed as an argument during CrewAI execution, its __dict__ (with the credential-bearing LLM) is placed into mlflow.spanInputs. The upstream fix (PR #25845, commit 20927930d27f0072fcfeb7f024f24ad8c5e77c47) adds a _SENSITIVE_KEY_PATTERN regex matching api_key, secret, password, authorization, credential, trailing token, and camelCase accessToken keys, adds _set_sanitized_attribute() and _sanitize_value() recursion so keys naming credentials are dropped before values are stringified, and reduces CrewAI LLM objects to a model-name summary rather than their full representation. The advisory notes that fixing only the Agent attribute serialization would leave the spanInputs path vulnerable, which is why both paths are addressed.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Keys reach a network-accessible trace/OTLP backend (AV:N) typically requiring authenticated read access (PR:L); confidentiality-only impact (C:H, I:N/A:N); no user interaction or special complexity in reading the stored secret.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Oct 27, 2026 - 21:18 EUVD
CVE Published
Oct 27, 2026 - 20:17 cve.org
MEDIUM 6.5

DescriptionCVE.org

MLflow is an open source AI engineering platform for agents, large language models, and machine learning models. From 2.19.0 until 3.17.0, mlflow.crewai.autolog() records CrewAI Agent objects without consistently sanitizing nested credential-bearing values. mlflow/crewai/autolog.py::_get_agent_attributes() converts the Agent llm field to a string that includes the provider API key, while mlflow/crewai/autolog.py::_construct_full_inputs() expands the Agent object into mlflow.spanInputs. Applications can therefore send plaintext provider credentials to the MLflow trace backend or a configured OTLP destination, where trace readers can obtain them. This issue is fixed in version 3.17.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
High
widely deployed MLOps platform; exposure limited to CrewAI autolog users
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy