Path Traversal in Agiflow Scaffold-Mcp
CVE-2026-7237
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.006 (48.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 48.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.006 · change: +0.002
Affected products
- Agiflow Scaffold-Mcp — versions 1.0.0, 1.0.1, 1.0.2
Weakness classification (CWE)
References
- vuldb.com/vuln/359845 (technical-description, vdb-entry)
- vuldb.com/vuln/359845/cti (signature, permissions-required)
- vuldb.com/submit/802836 (third-party-advisory)
- github.com/AgiFlow/aicode-toolkit/issues/88 (issue-tracking, exploit)
- github.com/AgiFlow/aicode-toolkit/pull/89 (issue-tracking, patch)
- github.com/AgiFlow/aicode-toolkit/commit/c4d23592ae5fb59cfeefc4641e6826f8ac89b9… (patch)
- github.com/AgiFlow/aicode-toolkit/releases/tag/@agiflowai/aicode-toolkit@1.1.0 (patch)
Frequently asked questions
- What is CVE-2026-7237?
- CVE-2026-7237 is a high-severity vulnerability in Agiflow Scaffold-Mcp, classified under Path Traversal. CVSS score: 7.3/10. Published 2026-04-28.
- How severe is CVE-2026-7237?
- High severity. CVSS v3 base score is 7.3 out of 10.