Arbitrary file write via unguarded data and file modules in flytohub/flyto-core
The data and file write modules in flyto-core do not call the path guard that other modules use. A client who can run a module through the recipe engine or the MCP execute_module surface supplies the output path and the content. data.csv.write checks only whether the path contains two dots. That check does not block an absolute path. The module then creates the parent folders and writes the file at that path. data.json_to_csv, file.copy and file.move carry no path check at all. A write can land outside the sandbox folder, on application code, a recipe file, a shell startup file or an SSH key file. Writing attacker content to those places can lead to code execution. The finding is an incomplete fix of an earlier arbitrary file write. That fix added the guard to a named list of modules and left the data and file families off the list. flyto-core at or below 2.26.7 is affected on pip. Version 2.26.8 fixes it. CVE-2026-77312 is assigned, and the GitHub user Pig-Tail is credited as reporter.
- Affected artifact
- flytohub/flyto-core — data.csv.write, data.json_to_csv, file.copy and file.move modules reached through the recipe engine / MCP execute_module surfacemcp server
- Affected versions
- flyto-core ≥ 0 to < 2.26.8
- Fixed in
- 2.26.8
- Last verified
- 2026-12-06
- Upstream aliases
- GHSA-p34x-fmph-9fjxCVE-2026-77312
Severity
CVSS 4.0 score 9.3 (Critical), scored by HOL.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
What this means
GHSA-p34x-fmph-9fjx / CVE-2026-77312: the data.* and file.* write modules in flyto-core skip the sandbox path guard, so a module caller can write attacker content to any absolute path. Fixed in 2.26.8; upgrade from 2.26.7 or below.
What to do
Upgrade flyto-core to 2.26.8 or later. On affected versions, do not let untrusted clients run data or file write modules, and treat any module output path as unconfined.
Evidence
Precondition. A client able to run a module or recipe through the flyto-core recipe engine or MCP execute_module surface, at or below 2.26.7.
Source proof. Per the advisory, data.csv.write with an absolute file_path creates the parent folders and writes caller data at that path with no sandbox check, and file.copy and file.move write to a caller destination with no check at all. HOL did not run the server; this rests on the advisory.
Version determination. Determined by range — The advisory states flyto-core at or below 2.26.7 is affected on pip, with 2.26.8 as the patched version.
Disclosure
Disclosure state: independent public · Publisher: flytohub/flyto-core
Naming decision: named. Vendor named as drafted. Finding already public with fix published; naming call sits with this job under Nov 24-25 2026 rules.
Vendor response: fixed — Fix published in 2.26.8.
2026-07-11 · vendor action
Maintainers published advisory GHSA-p34x-fmph-9fjx with the fix in 2.26.8.
2026-12-06 · guard update
Status moved from draft to triaged: Transition to triaged: record is in scope, sources are primary, finding already public and fixed upstream in 2.26.8, CVE-2026-77312 assigned.
2026-12-06 · guard update
Status moved from triaged to evidence_verified: Transition to evidence_verified: record is in scope, sources are primary, finding already public and fixed upstream in 2.26.8, CVE-2026-77312 assigned.
2026-12-06 · disclosure
Status moved from evidence_verified to public: Transition to public: record is in scope, sources are primary, finding already public and fixed upstream in 2.26.8, CVE-2026-77312 assigned.
Affected artifact references
Cite this record
[HOL-VULN-2026-0030] Arbitrary file write via unguarded data and file modules in flytohub/flyto-core — HOL Agent Vulnerability Ledger, HOL (hol.org), 2026. https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0030
Canonical URL: https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0030
Found an error in this record, or want to appeal it? Report an issue or appeal.
Appeal or correct this record
Maintainers and affected parties can submit evidence, dispute the record, or request a correction through the disclosure page. A dispute marks the record visibly disputed — it never silently disappears.