Path Traversal Vulnerability in AgiFlow Scaffold-mcp Up to Version 1.0.27
CVE-2026-7237

6.9MEDIUM

Key Information:

Vendor

Agiflow

Vendor
CVE Published:
28 April 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-7237?

A vulnerability exists in the AgiFlow scaffold-mcp tool that impacts the file write functionality. By manipulating the file_path argument in the source file packages/scaffold-mcp/src/server/index.ts, an attacker can exploit this vulnerability to perform path traversal attacks. This allows unauthorized access to files outside the intended directory, potentially leading to sensitive data exposure. The issue affects all versions up to 1.0.27 and can be exploited remotely, making it a significant security concern. Users are strongly advised to upgrade to version 1.1.0, which includes a patch to resolve this vulnerability.

Affected Version(s)

scaffold-mcp 1.0.0

scaffold-mcp 1.0.1

scaffold-mcp 1.0.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

BruceJin (VulDB User)
.