CVE-2026-7237
AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal
CVSS Score
7.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-22 |
| Vendor | agiflow |
| Product | scaffold-mcp |
| Published | Apr 28, 2026 |
Stay Ahead of the Next One
Get instant alerts for agiflow scaffold-mcp
Be the first to know when new high vulnerabilities affecting agiflow scaffold-mcp are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
AgiFlow / scaffold-mcp
1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 1.0.23 1.0.24 1.0.25 1.0.26 1.0.27
References
vuldb.com: https://vuldb.com/vuln/359845 vuldb.com: https://vuldb.com/vuln/359845/cti vuldb.com: https://vuldb.com/submit/802836 github.com: https://github.com/AgiFlow/aicode-toolkit/issues/88 github.com: https://github.com/AgiFlow/aicode-toolkit/pull/89 github.com: https://github.com/AgiFlow/aicode-toolkit/commit/c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6 github.com: https://github.com/AgiFlow/aicode-toolkit/releases/tag/%40agiflowai/aicode-toolkit%401.1.0
Credits
๐ BruceJin (VulDB User)