Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mlflow
  4. ›
  5. CVE-2026-116691

CVE-2026-116691: MLflow CrewAI autologging records LLM provider API keys in logged trace spans

October 27, 2026

mlflow.crewai.autolog() leaks CrewAI LLM provider API keys into MLflow trace telemetry.

When a CrewAI Agent is instrumented with MLflow autologging, MLflow serializes the agent’s __dict__ and converts its fields to strings. The llm field contains the CrewAI LLM object, whose string representation includes its api_key in plaintext.

As a result, an application that calls mlflow.crewai.autolog() can unintentionally send its LLM provider API key to the MLflow trace backend or configured OTLP destination.

The application does not need to explicitly log the credential or place it in a span attribute. The credential is extracted automatically by MLflow’s instrumentation.

This was verified on MLflow 3.16.0 with CrewAI 1.15.18 using MLflow’s own OTLP exporter. The fake credential appeared in 5 attribute locations across 2 spans.

References

  • github.com/advisories/GHSA-j7qq-vr8c-xvw3
  • github.com/mlflow/mlflow/commit/20927930d27f0072fcfeb7f024f24ad8c5e77c47
  • github.com/mlflow/mlflow/pull/25845
  • github.com/mlflow/mlflow/releases/tag/v3.17.0
  • github.com/mlflow/mlflow/security/advisories/GHSA-j7qq-vr8c-xvw3
  • nvd.nist.gov/vuln/detail/CVE-2026-116691

Code Behaviors & Features

Detect and mitigate CVE-2026-116691 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.19.0 before 3.17.0

Fixed versions

  • 3.17.0

Solution

Upgrade to version 3.17.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-312: Cleartext Storage of Sensitive Information
  • CWE-532: Insertion of Sensitive Information into Log File

Source file

pypi/mlflow/CVE-2026-116691.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.