CVE-2026-7237

HIGH

AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.3
EPSS 0.0005
EPSS Percentile 15.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (29)
AgiFlow/scaffold-mcp 1.0.0
AgiFlow/scaffold-mcp 1.0.1
AgiFlow/scaffold-mcp 1.0.10
AgiFlow/scaffold-mcp 1.0.11
AgiFlow/scaffold-mcp 1.0.12
AgiFlow/scaffold-mcp 1.0.13
AgiFlow/scaffold-mcp 1.0.14
AgiFlow/scaffold-mcp 1.0.15
AgiFlow/scaffold-mcp 1.0.16
AgiFlow/scaffold-mcp 1.0.17
... and 19 more
Published Apr 28, 2026
Tracked Since Apr 28, 2026