{"id":"CVE-2026-7237","aliases":["CVE-2026-7237"],"related":[],"kind":"vulnerability","state":"published","title":"AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-28T06:45:13.690Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"1.0.0","status":"affected"},{"version":"1.0.1","status":"affected"},{"version":"1.0.2","status":"affected"},{"version":"1.0.3","status":"affected"},{"version":"1.0.4","status":"affected"},{"version":"1.0.5","status":"affected"},{"version":"1.0.6","status":"affected"},{"version":"1.0.7","status":"affected"},{"version":"1.0.8","status":"affected"},{"version":"1.0.9","status":"affected"},{"version":"1.0.10","status":"affected"},{"version":"1.0.11","status":"affected"},{"version":"1.0.12","status":"affected"},{"version":"1.0.13","status":"affected"},{"version":"1.0.14","status":"affected"},{"version":"1.0.15","status":"affected"},{"version":"1.0.16","status":"affected"},{"version":"1.0.17","status":"affected"},{"version":"1.0.18","status":"affected"},{"version":"1.0.19","status":"affected"},{"version":"1.0.20","status":"affected"},{"version":"1.0.21","status":"affected"},{"version":"1.0.22","status":"affected"},{"version":"1.0.23","status":"affected"},{"version":"1.0.24","status":"affected"},{"version":"1.0.25","status":"affected"},{"version":"1.0.26","status":"affected"},{"version":"1.0.27","status":"affected"},{"version":"1.1.0","status":"unaffected"}],"vendor":"AgiFlow","product":"scaffold-mcp","source":"cvelist"}],"references":[{"url":"https://vuldb.com/vuln/359845","tags":["technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/vuln/359845/cti","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/802836","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/AgiFlow/aicode-toolkit/issues/88","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/AgiFlow/aicode-toolkit/pull/89","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/AgiFlow/aicode-toolkit/commit/c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/AgiFlow/aicode-toolkit/releases/tag/%40agiflowai/aicode-toolkit%401.1.0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["BruceJin (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-28T14:13:09.359Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-7237","url":"https://www.cve.org/CVERecord?id=CVE-2026-7237","licence":"CVE Terms of Use","modified":"2026-04-28T14:13:20.517Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-7237","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7237","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:19.871Z","epss":{"score":0.00465,"percentile":0.41954,"date":"2026-12-01T12:00:22.000Z"}}