Read the docs

Path traversal in Flyto2 Core MCP tool runs workflows outside recipes

Priority MEDIUM 61CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Flyto2 Core (flytohub flyto-core) before 2.26.8 has a path traversal flaw in the MCP run_recipe tool. The caller-supplied recipe_name is appended to the recipes directory without a containment check, so parent-directory segments can load YAML workflows from outside the bundled recipes (CWE-22). A remote attacker with low privileges can make Flyto run such a workflow, which does not grant unrestricted code execution but does run the allowed browser, network, file and data-processing modules.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.8, the MCP run_recipe tool in src/core/mcp_handler.py accepts a caller-controlled recipe_name that load_recipe() in src/cli/recipe.py appends to the src/recipes path without resolved-path containment. Parent-directory segments can therefore make Flyto load and execute a YAML workflow outside the bundled recipe directory, bypassing the boundary represented by list_recipes(). This does not necessarily provide unrestricted code execution because available workflow modules remain subject to Flyto's module policy, but it permits unintended execution of allowed browser, network, file, and data-processing modules. This issue is fixed in version 2.26.8.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00455 31st percentileScored 2026-11-30
Fix Fixed flyto-core (flytohub): 2.26.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
flytohubflyto-corebefore 2.26.82.26.8Patch availableCNA
  • flyto-core Vendorflytohub Affected before 2.26.8 Fixed in 2.26.8 Patch available CNA

Remediation

Upgrade flytohub flyto-core to version 2.26.8, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

  • Fix · CNA flyto-core (flytohub) Fixed in 2.26.8

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-77314
  2. 2026-11-20 CISA SSVC decision points changed

References

  • TI-2026-95326 Arbitrary file write in Flyto2 Core through unguarded modules CVSS 3.1CRITICAL 10.0
  • TI-2026-47709 Flyto2 Core: Arbitrary file write via image.download (and other file-writing modules) CVSS 3.1CRITICAL 10.0
  • TI-2026-47706 Flyto2 Core: Unauthenticated flyto-verification /run: callback_url SSRF and internal runner-secret exfiltration CVSS 3.1CRITICAL 9.3
  • TI-2026-47707 Flyto2 Core: ${env.VAR} interpolation reads any env secret despite env.get being denylisted CVSS 3.1HIGH 8.6
  • TI-2026-47705 Flyto2 Core: LLM/API keys leak to an attacker-controlled base_url CVSS 3.1HIGH 8.6
  • TI-2026-74172 Unauthenticated command execution in Flyto2 Core over HTTP MCP CVSS 3.1HIGH 8.4
See all 13 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences