Description
A vulnerability in FileWriterTool in crewai-tools <= 1.10.2rc1 allows a remote attacker to achieve code execution via malicious path traversal sequences in the filename argument.
Published: 2026-08-27
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Upgrade
AI Analysis

Impact

A flaw in the FileWriterTool component of crewai-tools allows an attacker to supply a malicious filename that includes path traversal characters. The tool writes the provided data directly to disk without sanitizing the path, which enables the attacker to create or overwrite arbitrary files. If the application later executes these files or if the attacker can place a script in a directory that is executed by the system, the attacker gains code execution on the host. The weakness corresponds to improper input validation and path traversal.

Affected Systems

Any deployment of crewai-tools version 1.10.2rc1 or earlier is affected. The vulnerability resides in the open‑source crewai repository and does not extend to later releases. Users running older releases that expose the FileWriterTool API are at risk.

Risk and Exploitability

Because the vulnerability is triggered via a supplied filename and the tool writes files to the server, the attack vector is a remote request to the file creation endpoint. The EPSS score of 0.00258 suggests that exploitation frequency is currently very low, but the CVSS score of 9.8 indicates a high‑severity class of risk. The vulnerability is not listed in the CISA KEV catalog, so it is not a known exploited vulnerability. Despite the low probability of exploitation, the potential for remote code execution classifies this as a high‑severity risk that should be mitigated promptly.

Generated by OpenCVE AI on September 2, 2026 at 08:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade crewai-tools to the latest version where the path traversal issue is patched
  • Implement strict server‑side validation that rejects any filename containing path separators or traversal sequences
  • Configure the file writing directory to a dedicated, non‑executable location and enforce directory‑level write permissions

Generated by OpenCVE AI on September 2, 2026 at 08:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 08:30:00 +0000

Type Values Removed Values Added
Title Path Traversal in FileWriterTool Enables Remote Code Execution
Metrics ssvc

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


Wed, 02 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Title Path Traversal in FileWriterTool Enables Remote Code Execution in crewai-tools
Weaknesses CWE-20

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Tue, 01 Sep 2026 14:45:00 +0000

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

Fri, 28 Aug 2026 06:45:00 +0000

Type Values Removed Values Added
Title Path Traversal in FileWriterTool Enables Remote Code Execution in crewai-tools
Weaknesses CWE-20
CWE-22

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description A vulnerability in FileWriterTool in crewai-tools <= 1.10.2rc1 allows a remote attacker to achieve code execution via malicious path traversal sequences in the filename argument.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-01T19:33:13.455Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-37007

cve-icon Vulnrichment

Updated: 2026-09-01T19:33:07.835Z

cve-icon NVD

Status : Deferred

Published: 2026-08-27T20:17:41.557

Modified: 2026-09-01T20:17:13.953

Link: CVE-2026-37007

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-02T08:15:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')