CVE-2026-77314
JSON

6.3medium

Flyto2 Core: Path traversal in MCP `run_recipe` allows execution of workflows outside bundled recipe directory

Severity
6.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.46% (higher than 31% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.8, the MCP run_recipe tool in src/core/mcp_handler.py accepts a caller-controlled recipe_name that load_recipe() in src/cli/recipe.py appends to the src/recipes path without resolved-path containment. Parent-directory segments can therefore make Flyto load and execute a YAML workflow outside the bundled recipe directory, bypassing the boundary represented by list_recipes(). This does not necessarily provide unrestricted code execution because available workflow modules remain subject to Flyto's module policy, but it permits unintended execution of allowed browser, network, file, and data-processing modules. This issue is fixed in version 2.26.8.

Affected

Product or packageVersionsReported by
flytohub flyto-core< 2.26.8CVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-77314 changed 2026-11-20CVE Terms of Use
NVDCVE-2026-77314 changed 2026-11-20Public domain