Path Traversal in Agiflow Scaffold-Mcp
CVE-2026-7237
- CVSS v3
- 7.3 High
- Public exploits
- None known
- EPSS
- 0.004 · 39.7th percentile
- Published
- 2026-04-28
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.004, 39.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Agiflow Scaffold-Mcp — versions 1.0.0, 1.0.1, 1.0.2
Weakness classification (CWE)
References
- VDB-359845 | AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal (technical-description, vdb-entry)
- VDB-359845 | CTI Indicators (IOB, IOC, TTP, IOA) (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)