Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/AgiFlow/aicode-toolkit/commit/c4d23592ae5fb59cfeefc4641e6826f
- https://github.com/AgiFlow/aicode-toolkit/issues/88
- https://github.com/AgiFlow/aicode-toolkit/pull/89
- https://github.com/AgiFlow/aicode-toolkit/releases/tag/%40agiflowai/aicode-toolk
- https://vuldb.com/submit/802836
- https://vuldb.com/vuln/359845
- https://vuldb.com/vuln/359845/cti
FAQ
What is CVE-2026-7237?
CVE-2026-7237 is a vulnerability with a CVSS score of 7.3 (HIGH). 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-...
How severe is CVE-2026-7237?
CVE-2026-7237 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-7237?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.