# CVE-2026-77314: Flyto2 Core: Path traversal in MCP `run_recipe` allows execution of workflows outside bundled recipe directory

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 31% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T21:39:42.635Z
- Modified: 2026-11-20T21:17:39.053Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- flytohub flyto-core: < 2.26.8

## References

- <https://github.com/flytohub/flyto-core/security/advisories/GHSA-mxcc-cr6x-2mvr> (exploit)
- <https://github.com/flytohub/flyto-core/commit/bbb6f1cfec22fee1ea0e6ecf1129d7103c85e09f>
- <https://github.com/flytohub/flyto-core/releases/tag/v2.26.8>

## Sources

- CVE List: [CVE-2026-77314](https://www.cve.org/CVERecord?id=CVE-2026-77314), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-77314](https://nvd.nist.gov/vuln/detail/CVE-2026-77314), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-77314 · Whole record: https://cve.day/CVE-2026-77314.json · Rebuilt by cve.day 2026-11-25T22:59:52.248Z
