Home

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.

PUBLISHED Reserved 2026-04-27 | Published 2026-04-28 | Updated 2026-04-28 | Assigner VulDB




MEDIUM: 6.9CVSS: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
HIGH: 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
HIGH: 7.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
7.5AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C

Problem types

Path Traversal

Product status

1.0.0
affected

1.0.1
affected

1.0.2
affected

1.0.3
affected

1.0.4
affected

1.0.5
affected

1.0.6
affected

1.0.7
affected

1.0.8
affected

1.0.9
affected

1.0.10
affected

1.0.11
affected

1.0.12
affected

1.0.13
affected

1.0.14
affected

1.0.15
affected

1.0.16
affected

1.0.17
affected

1.0.18
affected

1.0.19
affected

1.0.20
affected

1.0.21
affected

1.0.22
affected

1.0.23
affected

1.0.24
affected

1.0.25
affected

1.0.26
affected

1.0.27
affected

1.1.0
unaffected

Timeline

2026-04-27:Advisory disclosed
2026-04-27:VulDB entry created
2026-04-27:VulDB entry last update

Credits

BruceJin (VulDB User) reporter

References

vuldb.com/vuln/359845 (VDB-359845 | AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal) vdb-entry technical-description

vuldb.com/vuln/359845/cti (VDB-359845 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/submit/802836 (Submit #802836 | AgiFlow @agiflowai/scaffold-mcp 1.0.27 Path Traversal) third-party-advisory

github.com/AgiFlow/aicode-toolkit/issues/88 exploit issue-tracking

github.com/AgiFlow/aicode-toolkit/pull/89 issue-tracking patch

github.com/...ommit/c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6 patch

github.com/...t/releases/tag/@agiflowai/aicode-toolkit@1.1.0 patch

cve.org (CVE-2026-7237)

nvd.nist.gov (CVE-2026-7237)

Download JSON