CVE-2026-77312: flytohub flyto-core · Arbitrary file write
Exploitation: Public exploit · CVSS 10.0 Critical · Unauthenticated · Published 2026-11-19
Description
Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.8, the earlier CVE-2026-67429 remediation applied validate_path_with_env_config() to only a hand-picked set of file-writing modules, leaving data.csv.write in src/core/modules/atomic/data/csv_write.py, data.json_to_csv in src/core/modules/atomic/data/json_to_csv.py, file.copy in src/core/modules/atomic/file/copy.py, and file.move in src/core/modules/atomic/file/move.py outside the FLYTO_SANDBOX_DIR confinement boundary. The advisory also identifies unguarded modules across the broader data.*, file.*, and report-writer families. data.csv.write relies on a .. substring denylist that does not reject absolute paths, while the other named modules accept caller-controlled output or destination paths without the canonical guard. A caller able to execute modules or recipes can therefore write attacker-controlled content outside the configured sandbox, potentially overwriting application code, recipes, startup files, scheduled-task files, or authorization files and gaining code execution on the host. This issue is fixed in version 2.26.8.
Enclave's analysis
Flyto-core's recipe/module engine lets several data and file modules write to attacker-chosen paths with no sandbox check — a prior fix only patched a handful of modules, missing CSV write, JSON-to-CSV, file copy and file move. Anyone who can run a module or recipe can overwrite app code, cron jobs or SSH keys to get code execution on the host. The original researcher published a working proof-of-concept and an Exploit-DB entry, but it only shows the write primitive, not a full chain to code execution, and reaching the executor needs valid credentials on most affected versions. Upgrade to 2.26.8.
Fix
Upgrade flyto-core (PyPI package, flytohub/flyto-core) to 2.26.8. No fixed version is listed for flyto-core; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| flyto-core | < 2.26.8 | Not listed |
| flyto-core (PyPI package, flytohub/flyto-core) | < 2.26.8 | 2.26.8 |
Affected packages
- pypi:flyto-core