CVE-2026-77314
Flyto2 Core: Path traversal in MCP `run_recipe` allows execution of workflows outside bundled recipe directory
- CVSS
- 6.3
- EPSS
- 0.45% (p41)
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-12-02
- Product
- flytohub flyto-core
- Aliases
- GHSA-mxcc-cr6x-2mvr
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
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.
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://github.com/flytohub/flyto-core/security/advisories/GHSA-mxcc-cr6x-2mvr x_refsource_CONFIRM
- https://github.com/flytohub/flyto-core/commit/bbb6f1cfec22fee1ea0e6ecf1129d7103c85e09f x_refsource_MISC
- https://github.com/flytohub/flyto-core/releases/tag/v2.26.8 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77314.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-77314 advisory