CVE-2026-37007

Path Traversal in FileWriterTool Enables Remote Code Execution

Published Aug 27, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
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'}

Type Values Removed Values Added
Title Path Traversal in FileWriterTool Enables Remote Code Execution in crewai-tools
Weaknesses CWE-20
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'}

Type Values Removed Values Added
First Time appeared Crewai
Crewai crewai
Vendors & Products Crewai
Crewai crewai
Type Values Removed Values Added
Title Path Traversal in FileWriterTool Enables Remote Code Execution in crewai-tools
Weaknesses CWE-20
CWE-22
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
Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 1, 2026, 7:33 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
Aug 27, 2026, 8:17 PM
Modified
Sep 1, 2026, 8:17 PM