CVE-2026-7237 MEDIUM

CVE-2026-7237: AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal

Vendor Agiflow
Product scaffold-mcp
Weakness CWE-22 · Path traversal
Published April 28, 2026
Last update April 28, 2026

CVSS base score

6.9/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 28, 2026 CVE published
April 28, 2026 Record updated