CVE-2026-7237
JSON

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 packageVersionsReported by
AgiFlow scaffold-mcp1.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

VulDB6.9medium CVSS:4.0CVSS: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
VulDB7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
VulDB7.3high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
VulDB7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C

Classification

CWE-22

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

Sources

SourceRecordLicence
CVE ListCVE-2026-7237 changed 2026-04-28CVE Terms of Use
NVDCVE-2026-7237 changed 2026-10-26Public domain