Details
Remediation
- Upgrade to
mlflow>=3.17.0. - Upgrading stops new leakage but does not remove credentials already written. Rotate any LLM provider key that a CrewAI
LLMobject held (for example one passed asLLM(api_key=...)) whilemlflow.crewai.autolog()was enabled on MLflow 2.19.0 through 3.16.x. - Delete or redact the affected traces in the MLflow tracking backend and in any OTLP destination they were exported to. The key appears in Agent and Crew span attributes and in
mlflow.spanInputs.
Workarounds
If you cannot upgrade yet, disable CrewAI autologging with mlflow.crewai.autolog(disable=True).