{"id":"CVE-2026-77312","summary":"Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)","details":"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.","aliases":["GHSA-p34x-fmph-9fjx"],"modified":"2026-11-20T00:26:09.060860172Z","published":"2026-11-19T21:41:29.956Z","related":["GHSA-h9f9-h6gm-wc85","GHSA-p34x-fmph-9fjx"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77312.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77312.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h9f9-h6gm-wc85"},{"type":"FIX","url":"https://github.com/flytohub/flyto-core/commit/bbb6f1cfec22fee1ea0e6ecf1129d7103c85e09f"},{"type":"WEB","url":"https://github.com/flytohub/flyto-core/releases/tag/v2.26.8"},{"type":"ADVISORY","url":"https://github.com/flytohub/flyto-core/security/advisories/GHSA-p34x-fmph-9fjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77312"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/flytohub/flyto-core","events":[{"introduced":"0"},{"fixed":"bf748df864d348004cf45d830bc59f62c5c4a58a"},{"fixed":"bbb6f1cfec22fee1ea0e6ecf1129d7103c85e09f"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.26.8"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"bbb6f1cfec22fee1ea0e6ecf1129d7103c85e09f"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"bf748df864d348004cf45d830bc59f62c5c4a58a"}],"source":"REFERENCES_TAG","original_tag":"v2.26.8"}]}}],"versions":["v2.26.7","v2.26.6","v2.26.4","v2.26.3","v2.26.0","v2.25.27","v2.17.6","v2.16.3","v2.5.0","v2.2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77312.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H"}]}