Description
CrewAI crewAI Framework Agent Loading Unsafe Reflection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of CrewAI crewAI. User interaction is required to exploit this vulnerability in that the target must load a malicious agent configuration from the repository.

The specific flaw exists within the load_agent_from_repository function. The process does not properly restrict a user-supplied argument before using it to import a module. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-28387.
Published: 2026-10-21
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

CrewAI Framework contains a flaw in the load_agent_from_repository function that fails to restrict a user‑supplied argument before using it to import a module. This unsafe reflection vulnerability allows an attacker to execute arbitrary code in the context of the service account by providing a malicious agent configuration via the repository. The flaw falls under CWE‑470, a classic example of dynamic code execution based on untrusted input.

Affected Systems

The affected vendor is CrewAI, and the product impacted is the CrewAI Framework. No specific version numbers were supplied in the advisory, so all installations of the framework may be vulnerable until a fix is applied.

Risk and Exploitability

The CVSS score of 8.8 classifies the issue as a high‑severity remote code execution risk. The EPSS score is not available, but the advisory notes that user interaction is required: the target must load a malicious agent configuration from the repository. The vulnerability is not listed in the CISA KEV catalog. Because the flaw permits code execution with the privileges of the service account, successful exploitation would grant an attacker full control over the affected system.

Generated by OpenCVE AI on October 22, 2026 at 06:03 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest CrewAI Framework patch or update that corrects the load_agent_from_repository function to properly validate or whitelist module names.
  • Configure the framework to restrict agent loading to trusted repositories or disable external agent loading entirely until a patch is available.
  • Audit existing agent configuration files on the system, removing or neutralizing any that were added by an unauthorized user.
  • Implement network segmentation or firewall rules to limit external access to the CrewAI service, reducing the attack surface.

Generated by OpenCVE AI on October 22, 2026 at 06:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 22 Oct 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Crewai
Crewai crewai
Vendors & Products Crewai
Crewai crewai

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Description CrewAI crewAI Framework Agent Loading Unsafe Reflection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of CrewAI crewAI. User interaction is required to exploit this vulnerability in that the target must load a malicious agent configuration from the repository. The specific flaw exists within the load_agent_from_repository function. The process does not properly restrict a user-supplied argument before using it to import a module. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-28387.
Title CrewAI crewAI Framework Agent Loading Unsafe Reflection Remote Code Execution Vulnerability
Weaknesses CWE-470
References
Metrics cvssV3_0

{'score': 8.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-10-30T15:35:08.028Z

Reserved: 2026-09-15T18:15:32.922Z

Link: CVE-2026-92206

cve-icon Vulnrichment

Updated: 2026-10-30T15:35:03.588Z

cve-icon NVD

Status : Deferred

Published: 2026-10-21T18:17:31.133

Modified: 2026-10-30T16:17:59.893

Link: CVE-2026-92206

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T10:00:05Z

Weaknesses
  • CWE-470

    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')