All vulnerabilities

PyPI

CVE-2026-77312

Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)

Severity
Critical 10.0
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.26.8
Exploit chance
0.7% in the next 30 daysHigher than 55% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed · No user action needed
Attacker can
Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
Also known as
GHSA-p34x-fmph-9fjx
Sources
OSV.dev and GitHub

Description

  • 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.
  • 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.
  • 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.
  • data.json_to_csv (output_path), file.copy / file.move (shutil.copy2/shutil.move to destination) have no path check at all.
  • An absolute path such as /home//.bashrc, /app/src/core/modules/.../.py, or a .flyto recipe file is written verbatim, outside the sandbox.

Guard analysis: the GHSA-2956 enforcement is per-module (e.g. image/download.py:21 imports and calls validate_path_with_env_config).

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
flyto-corePyPI · osv:PyPI:flyto-core
  • Every version before 2.26.8

About flyto-core

Weekly downloads (PyPI)
658PyPI Stats, 24 Nov 2026

References