CVE-2026-7237
Received
Received - Intake
Path Traversal in AgiFlow scaffold-mcp write-to-file Tool
Publication date: 2026-04-28
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
A vulnerability was detected in AgiFlow scaffold-mcp up to 1.0.27. Affected by this issue is some unknown functionality of the file packages/scaffold-mcp/src/server/index.ts of the component write-to-file Tool. The manipulation of the argument file_path results in path traversal. The attack may be launched remotely. The exploit is now public and may be used. Upgrading to version 1.1.0 can resolve this issue. The patch is identified as c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6. You should upgrade the affected component.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| agiflowai | scaffold_mcp | to 1.0.27 (inc) |
| agiflowai | scaffold_mcp | 1.1.0 |
| agiflowai | aicode_toolkit | 1.1.0 |
| agiflow | scaffold_mcp | to 1.0.27 (inc) |
| agiflow | scaffold_mcp | 1.1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |