Key details

  1. GHSA-j7qq-vr8c-xvw3 published October 13, 2026; CVSS 6.5 moderate; no CVE assigned in the primary advisory.
  2. Affected MLflow: >=2.19.0, <3.17.0; patched in 3.17.0, released October 7.
  3. Triggered by mlflow.crewai.autolog() with CrewAI LLM objects holding provider keys, including values resolved from environment variables in some CrewAI 1.x providers.
  4. Credentials could enter Agent/Crew span attributes and mlflow.spanInputs, then MLflow trace storage or OTLP sinks.
  5. Advisory reproduced fake key in five locations across two spans on MLflow 3.16.0 / CrewAI 1.15.18.
  6. Upgrade does not remove historical leaked credentials: rotate affected keys and delete/redact trace copies.
  7. Weir canary scanner linked to advisory as discoverer; broader tool effectiveness unverified.

What builders should take away

  1. Inventory MLflow versions and any use of mlflow.crewai.autolog(), especially when sending traces to third-party collectors.
  2. Upgrade affected integrations to MLflow 3.17.0 or later; confirm the running version rather than only updating dependency declarations.
  3. Rotate any provider keys held by CrewAI LLM objects while vulnerable autologging was active, and purge or redact exported trace copies.
  4. Restrict trace access and review OpenTelemetry exporter destinations and retention as part of secrets response.
  5. Use fake canary credentials for validation; do not assume a new scanner is safe to run against real secrets without review.

What changed

On October 13, 2026, MLflow published security advisory GHSA-j7qq-vr8c-xvw3 (CVSS 6.5, moderate) describing a sensitive-information disclosure in mlflow.crewai.autolog(). Affected MLflow versions are >=2.19.0 and <3.17.0. The instrumentation serialized CrewAI Agent and Crew objects including LLM provider api_key fields into trace attributes and span inputs, even when application code never explicitly logged credentials. The key could reach MLflow trace storage or a configured OpenTelemetry OTLP exporter. MLflow 3.17.0, released October 7, includes fix PR #25845, which sanitizes LLM objects and credential-like fields across the affected paths. The advisory recommends upgrading, rotating any exposed provider keys and deleting or redacting old traces. A small open-source tool called Weir surfaced the issue through canary-based credential tracking, but its broader detection claims are not independently benchmarked.

Why it matters

Observability systems often have wider access than application secret stores. A developer can keep a key out of application logs yet leak it through automatic object serialization inside AI-agent tracing. Updating MLflow stops new writes on the affected integration but cannot revoke a credential already copied to a telemetry backend or third-party collector. For AI SaaS operators, this is a concrete example of tracing and logging becoming a second secrets-management perimeter, with direct risks of unauthorised API use and billing exposure.

Automatic tracing copied secrets without an explicit log call

The MLflow advisory documents that CrewAI Agent.__dict__ and LLM object representations were serialised into span attributes. A second path expanded object __dict__ into mlflow.spanInputs; Crew attributes could also carry credential-bearing LLM objects. The dedicated LLM attribute path already excluded api_key, but the broader Agent, Crew and input paths bypassed it. The report reproduced a fake key in five attributes across two spans using MLflow 3.16.0 and CrewAI 1.15.18 with an OTLP exporter.

Affected range, fix and tested behaviour

The advisory covers MLflow 2.19.0 through 3.16.x and identifies 3.17.0 as the first patched version. Maintainers' PR #25845 replaces selective handling with a recursive sanitizer, reduces CrewAI LLM objects to safe model metadata and filters credential-like keys in attributes and span inputs. The PR reports seven new regression tests that failed before the fix and passed after it. These are maintainer tests and an advisory reproduction, not an independent deployment-wide audit.

Patching is necessary but insufficient

Operators should upgrade to MLflow 3.17.0 or later for this particular flaw. Then determine whether CrewAI autologging ran while keys were present, rotate affected LLM provider credentials, and purge or redact affected spans from both the MLflow tracking backend and downstream OTLP destinations. If upgrading is delayed, the advisory suggests disabling CrewAI autologging with mlflow.crewai.autolog(disable=True). Treat telemetry exports and backups according to retention and access policies.

A small canary-testing tool revealed the issue

The open-source Weir project describes placing synthetic provider keys in agent environments, executing real agent flows, then checking whether those values appear in spans, logs, model inputs or downstream services. Its repository links to the MLflow advisory, which credits its author as reporter. That supports this particular discovery; it does not establish the tool's claimed general reliability or safety across all frameworks. Test with fake keys rather than exposing real secrets to a new scanner.

Keep other MLflow security advisories separate

MLflow has other October advisories with different affected versions and mitigations. In particular, the FileStore trace-ID path-traversal advisory CVE-2026-53995 names 3.17.2 as patched, but the upstream fix PRs' merge dates and the 3.17.2 release date appear inconsistent. This dossier's verified 3.17.0 recommendation applies only to the CrewAI credential leak; do not infer it resolves unrelated MLflow vulnerabilities.

What to watch next

  • Additional MLflow advisories affecting tracing, autologging or unsafe object serialisation.
  • Whether telemetry platforms offer automated historical-secret scrubbing and exposure audit tooling.
  • Independent validation of Weir or similar canary-based agent leakage detection.
  • Clarification of the separate MLflow FileStore trace-ID advisory's stated fixed version.

Still unclear

  • The advisory proves exposure in the tested configuration, not the number of affected deployments or actual credential misuse.
  • Who could read the traces depends on each deployment's MLflow and OTLP access controls.
  • The tool reporter's claims about broad detection coverage have not been independently reproduced.
  • Unrelated MLflow FileStore path traversal advisory appears to have a version/merge-date discrepancy; no remediation claim for it is made here.

Sources

Direct reading behind this dossier.

5 sources
MLflow 3.17.0 release
MLflow maintainers / GitHub primary release

Released version containing CrewAI credential fix.

The Patch — October 13, 2026
The Loop independent security analysis

Independent specialist report identifying CrewAI autolog trace risk and remediation.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment