CVE-2026-7237

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

State
Published
Severity
6.9 Medium
Published
Apr 28, 2026
Updated
Apr 28, 2026
Reserved
Apr 27, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
4.06.9 MediumCVSS: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:PVulDB
3.17.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CVulDB
3.07.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CVulDB
2.07.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:CVulDB

Weaknesses

Affected Products

ProductVersions
scaffold-mcpAgiFlow
  • 1.0.0Affected
  • 1.0.1Affected
  • 1.0.2Affected
  • 1.0.3Affected
  • 1.0.4Affected
  • 1.0.5Affected
  • 1.0.6Affected
  • 1.0.7Affected
  • 1.0.8Affected
  • 1.0.9Affected
  • 1.0.10Affected
  • 1.0.11Affected
  • 1.0.12Affected
  • 1.0.13Affected
  • 1.0.14Affected
  • 1.0.15Affected
  • 1.0.16Affected
  • 1.0.17Affected
  • 1.0.18Affected
  • 1.0.19Affected
  • 1.0.20Affected
  • 1.0.21Affected
  • 1.0.22Affected
  • 1.0.23Affected
  • 1.0.24Affected
  • and 4 more versions

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.