6.9medium
AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal
- Severity
- 6.9medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 20 more Not affected: 1.1.0 | CVE List |
All scores
| VulDB | 6.9medium CVSS:4.0 | 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 |
| VulDB | 7.3high CVSS:3.1 | 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 |
| VulDB | 7.3high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad fue detectada en AgiFlow scaffold-mcp hasta la versión 1.0.27. Afectada por este problema es alguna funcionalidad desconocida del archivo packages/scaffold-mcp/src/server/index.ts del componente write-to-file Tool. La manipulación del argumento file_path resulta en salto de ruta. El ataque puede ser lanzado remotamente. El exploit es ahora público y puede ser usado. La actualización a la versión 1.1.0 puede resolver este problema. El parche se identifica como c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6. Debería actualizar el componente afectado.
References
| https://vuldb.com/vuln/359845 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/359845/cti | permissions-required, signature | |
| https://vuldb.com/submit/802836 | third-party-advisory | |
| https://github.com/AgiFlow/aicode-toolkit/issues/88 | exploit, issue-tracking | |
| https://github.com/AgiFlow/aicode-toolkit/pull/89 | issue-tracking, patch | |
| https://github.com/AgiFlow/aicode-toolkit/commit/c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6 | patch | |
| https://github.com/AgiFlow/aicode-toolkit/releases/tag/%40agiflowai/aicode-toolkit%401.1.0 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-7237 changed 2026-04-28 | CVE Terms of Use |
| NVD | CVE-2026-7237 changed 2026-10-26 | Public domain |