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: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
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 absence of EPSS data and lack of recognition in the CISA KEV catalog mean exploitation frequency is currently unknown, but the potential for remote code execution classifies this as a high‑severity risk. The CVSS score is not provided in the data, yet the impact level itself signals a critical threat if not mitigated.

Generated by OpenCVE AI on August 28, 2026 at 06:29 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 August 28, 2026 at 06:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-27T17:27:51.779Z

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

Link: CVE-2026-37007

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-37007

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T06:30:18Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-22

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