{"vuln_id":"CVE-2026-77312","aliases":["GHSA-p34x-fmph-9fjx","CVE-2026-67429","CVE-2026-55786","GHSA-2956-977x-2w3r","GHSA-h9f9-h6gm-wc85"],"description":"Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)","published_at":"2026-11-19T22:18:44.013000Z","modified_at":"2026-11-20T00:15:05.454294Z","first_seen_at":"2026-11-21T19:15:19.327205Z","severity":"critical","severity_source":"nvd","cvss_score":10.0,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H","cwe":["CWE-22"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00748,"epss_percentile":0.55817,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-77312"},"matched_alias":null,"items":[{"id":10687,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-p34x-fmph-9fjx: Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)","summary":"Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)\n\n# [CRITICAL] Arbitrary file write via unguarded `data.*` / `file.*` write modules — incomplete fix of GHSA-2956\n\n- **CWE:** CWE-22 (Path Traversal) / CWE-73 (External Control of File Name or Path); impact reaches CWE-94 (code execution via file overwrite).\n- **CVSS v3.1:** `AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H` = **9.3 Critical** (S:C because a write escapes the intended sandbox confinement into the host filesystem / other components).\n- AV:N — reachable via the MCP server / recipe engine (`execute_module`). AC:L — deterministic. PR:L — any client able to run a module/recipe (the same attacker model as GHSA-2956; unauthenticated on the HTTP MCP surface per CVE-2026-55786). UI:N. S:C — escapes `FLYTO_SANDBOX_DIR`. C/I/A:H — arbitrary-content write to any absolute path → overwrite app code / recipes / `~/.bashrc` / cron / `authorized_keys` → RCE.\n- **Affected component:** `flyto-core` (PyPI `flyto-core`), HEAD `ae2b38e` (v2.26.7 line). Modules `data.csv.write` (`src/core/modules/atomic/data/csv_write.py`), `data.json_to_csv` (`.../data/json_to_csv.py`), `file.copy` (`.../file/copy.py`), `file.move` (`.../file/move.py`) — and the broader `data.*`/`file.*`/report-writer families that do not call the path guard.\n- **Relationship:** **Incomplete fix of GHSA-2956-977x-2w3r** (Critical arbitrary file write, patched in v2.26.6 by commit `d5f89d7`). That fix routed a hand-picked module list (`image.download/convert/resize/crop/compress/rotate/watermark/qrcode_generate`, `document.excel_write/pdf_fill_form/word_to_pdf/pdf_to_word`, `browser.pagination` checkpoint) through `validate_path_with_env_config()`. It did **not** cover the `data.*` and `file.*` write families, which still write a client-controlled path with no confinement.\n\n## Reachability (hop-by-hop, guards resolved)\n1. Client invokes a module via the recipe engine / MCP `execute_module` (`src/core/mcp_handler.py`, `mcp_server.py`) — the same surface as GHSA-2956 / CVE-2026-55786.\n2. `data.csv.write` reads `file_path = params.get('file_path')` and `data` (both client-controlled). Its only path check is `if '..' in file_path: raise` — a denylist that does **not** block absolute paths.\n3. It calls `os.makedirs(os.path.dirname(file_path), exist_ok=True)` then `open(file_path, 'w')` and writes `data`. **No call to `validate_path_with_env_config()`** — so `FLYTO_SANDBOX_DIR` confinement is never applied.\n4. `data.json_to_csv` (`output_path`), `file.copy` / `file.move` (`shutil.copy2`/`shutil.move` to `destination`) have **no path check at all**.\n5. An absolute path such as `/home/\n/.bashrc`, `/app/src/core/modules/.../\n.py`, or a `.flyto` recipe file is written verbatim, outside the sandbox.\n\n**Guard analysis:** the GHSA-2956 enforcement is per-module (e.g. `image/download.py:21` imports and calls `validate_path_with_env_config`). There is **no central path enforcement** in the runtime — `runtime/languages.py`'s `PathTraversalError` guards *plugin entry-point* loading, not module output paths\n\nAffected: PyPI:flyto-core\n\nFixed in: 2.26.8\n\nReferences:\nhttps://github.com/flytohub/flyto-core/security/advisories/GHSA-p34x-fmph-9fjx\nhttps://github.com/flytohub/flyto-core/commit/bbb6f1cfec22fee1ea0e6ecf1129d7103c85e09f\nhttps://github.com/flytohub/flyto-core\nhttps://github.com/flytohub/flyto-core/releases/tag/v2.26.8","url":"https://osv.dev/vulnerability/GHSA-p34x-fmph-9fjx","published_at":"2026-11-20T00:09:02Z","updated_at":"2026-11-20T00:15:05.454294Z","fetched_at":"2026-11-21T19:15:55.946104Z","severity":"critical","cvss_score":10.0,"epss":0.00748,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"flyto-core","vuln_id":"CVE-2026-77312","vuln_ids":["CVE-2026-55786","CVE-2026-67429","CVE-2026-77312","GHSA-2956-977X-2W3R","GHSA-H9F9-H6GM-WC85","GHSA-P34X-FMPH-9FJX"],"tags":["osv","pypi","fix-available"],"cluster_id":2105,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10687","html":"https://vulnwatch.ve1ve2.com/item/10687"}},{"id":2338,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-p34x-fmph-9fjx / CVE-2026-77312: Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)","summary":"Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)\n\n# [CRITICAL] Arbitrary file write via unguarded `data.*` / `file.*` write modules — incomplete fix of GHSA-2956\n\n- **CWE:** CWE-22 (Path Traversal) / CWE-73 (External Control of File Name or Path); impact reaches CWE-94 (code execution via file overwrite).\n- **CVSS v3.1:** `AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H` = **9.3 Critical** (S:C because a write escapes the intended sandbox confinement into the host filesystem / other components).\n- AV:N — reachable via the MCP server / recipe engine (`execute_module`). AC:L — deterministic. PR:L — any client able to run a module/recipe (the same attacker model as GHSA-2956; unauthenticated on the HTTP MCP surface per CVE-2026-55786). UI:N. S:C — escapes `FLYTO_SANDBOX_DIR`. C/I/A:H — arbitrary-content write to any absolute path → overwrite app code / recipes / `~/.bashrc` / cron / `authorized_keys` → RCE.\n- **Affected component:** `flyto-core` (PyPI `flyto-core`), HEAD `ae2b38e` (v2.26.7 line). Modules `data.csv.write` (`src/core/modules/atomic/data/csv_write.py`), `data.json_to_csv` (`.../data/json_to_csv.py`), `file.copy` (`.../file/copy.py`), `file.move` (`.../file/move.py`) — and the broader `data.*`/`file.*`/report-writer families that do not call the path guard.\n- **Relationship:** **Incomplete fix of GHSA-2956-977x-2w3r** (Critical arbitrary file write, patched in v2.26.6 by commit `d5f89d7`). That fix routed a hand-picked module list (`image.download/convert/resize/crop/compress/rotate/watermark/qrcode_generate`, `document.excel_write/pdf_fill_form/word_to_pdf/pdf_to_word`, `browser.pagination` checkpoint) through `validate_path_with_env_config()`. It did **not** cover the `data.*` and `file.*` write families, which still write a client-controlled path with no confinement.\n\n## Reachability (hop-by-hop, guards resolved)\n1. Client invokes a module via the recipe engine / MCP `execute_module` (`src/core/mcp_handler.py`, `mcp_server.py`) — the same surface as GHSA-2956 / CVE-2026-55786.\n2. `data.csv.write` reads `file_path = params.get('file_path')` and `data` (both client-controlled). Its only path check is `if '..' in file_path: raise` — a denylist that does **not** block absolute paths.\n3. It calls `os.makedirs(os.path.dirname(file_path), exist_ok=True)` then `open(file_path, 'w')` and writes `data`. **No call to `validate_path_with_env_config()`** — so `FLYTO_SANDBOX_DIR` confinement is never applied.\n4. `data.json_to_csv` (`output_path`), `file.copy` / `file.move` (`shutil.copy2`/`shutil.move` to `destination`) have **no path check at all**.\n5. An absolute path such as `/home/\n/.bashrc`, `/app/src/core/modules/.../\n.py`, or a `.flyto` recipe file is written verbatim, outside the sandbox.\n\n**Guard analysis:** the GHSA-2956 enforcement is per-module (e.g. `image/download.py:21` imports and calls `validate_path_with_env_config`). There is **no central path enforcement** in the runtime — `runtime/languages.py`'s `PathTraversalError` guards *plugin entry-point* loading, not module output paths\n\nAffected packages: pip:flyto-core\nPatched: flyto-core 2.26.8","url":"https://github.com/advisories/GHSA-p34x-fmph-9fjx","published_at":"2026-11-20T00:09:02Z","updated_at":"2026-11-20T00:09:03Z","fetched_at":"2026-11-21T19:15:18.416761Z","severity":"critical","cvss_score":10.0,"epss":0.00748,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"flyto-core","vuln_id":"CVE-2026-77312","vuln_ids":["CVE-2026-55786","CVE-2026-67429","CVE-2026-77312","GHSA-2956-977X-2W3R","GHSA-H9F9-H6GM-WC85","GHSA-P34X-FMPH-9FJX"],"tags":["ghsa","pip","CWE-22"],"cluster_id":2105,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2338","html":"https://vulnwatch.ve1ve2.com/item/2338"}},{"id":9325,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-77312: 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_en…","summary":"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.\n\nReferences:\nhttps://github.com/advisories/GHSA-h9f9-h6gm-wc85\nhttps://github.com/flytohub/flyto-core/commit/bbb6f1cfec22fee1ea0e6ecf1129d7103c85e09f\nhttps://github.com/flytohub/flyto-core/releases/tag/v2.26.8\nhttps://github.com/flytohub/flyto-core/security/advisories/GHSA-p34x-fmph-9fjx","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77312","published_at":"2026-11-19T22:18:44.013000Z","updated_at":"2026-11-19T22:18:44.013000Z","fetched_at":"2026-11-21T19:15:31.484930Z","severity":"critical","cvss_score":10.0,"epss":0.00748,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-77312","vuln_ids":["CVE-2026-55786","CVE-2026-67429","CVE-2026-77312","GHSA-2956-977X-2W3R","GHSA-H9F9-H6GM-WC85","GHSA-P34X-FMPH-9FJX"],"tags":["CWE-22"],"cluster_id":2106,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9325","html":"https://vulnwatch.ve1ve2.com/item/9325"}}]}